Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: iTunes Album Artwork Directory Structure

  1. #11
    Variable Bitrate NeonDev's Avatar
    Join Date
    Feb 2008
    Posts
    431
    so after more experimenting I am quite certain that it is the ALBUM persistent id that I require. unfortunately that info is not stored anyplace i know of and I have no idea how apple generates their persistent ids so it looks like I am up **** creek on this one.

    It seems the best i can hope for is to see if apple script can go through an itunes library and dump the album ids into a file that i can the use to look up from within nbb... the user would have to run it everytime they added new art but it would be a lot faster than exporting the artwork

    anyone out there good with applescript and itunes?
    check us out at: www.neonboombox.com

  2. #12
    Variable Bitrate NeonDev's Avatar
    Join Date
    Feb 2008
    Posts
    431
    well I just had an interesting thought to try and use the apple quick look framework to snag the thumbnail... anyone here used the quicklook framework?
    check us out at: www.neonboombox.com

  3. #13
    CarFrontEnd Creator iamgnat's Avatar
    Join Date
    Jul 2004
    Location
    NoVA
    Posts
    867
    Quote Originally Posted by NeonDev View Post
    so after more experimenting I am quite certain that it is the ALBUM persistent id that I require. unfortunately that info is not stored anyplace i know of and I have no idea how apple generates their persistent ids so it looks like I am up **** creek on this one.
    Is part/all of it possibly the CDDB/FreeDB code? I know in the early days of iTunes/iPod, Apple was using CDDB. I don't know what they did after Gracenote ****ed everyone off though.

    anyone out there good with applescript and itunes?
    From a quick test (can't spend time on it at work), it does not look like the album's PID is available via AS. The only reference I can find is the string value of the name from a track item (e.g. "get album of current track") which does not seem to translate to anything useful for these purposes.

    -dave
    My pathetic worklog.
    CarFrontEnd (now it's own sub-forum!!!!)

  4. #14
    Variable Bitrate NeonDev's Avatar
    Join Date
    Feb 2008
    Posts
    431
    well im pleased to announce that using the quicklook framework has proved fruitful!

    I will likely use that to render all album art from now on (depending on how fast it is)

    anybody suffering the same problems with album art should use it. it is less than 25 lines of code to fetch the preview and is guaranteed to work with anything quick look understands. im sure it is quite a bit more efficient than opening up the entire file (twice really since the qtkit was opening it anyway) to parse for the album art tag.

    i would be happy to help anyone in need of assistance as well

    thank you all for trying to help me figure it out tho.
    check us out at: www.neonboombox.com

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 69
    Last Post: 06-16-2008, 11:44 AM
  2. Album Artwork...Searched but can't find an answer...
    By Shamingo in forum Road Runner
    Replies: 20
    Last Post: 09-16-2007, 10:30 PM
  3. Indexing music in 1.0.9.8 Failed
    By hovalistic in forum StreetDeck
    Replies: 0
    Last Post: 07-07-2007, 11:19 AM
  4. Album art downloader
    By hijinks21 in forum Software & Software Development
    Replies: 105
    Last Post: 07-20-2006, 09:56 AM
  5. Replies: 18
    Last Post: 03-12-2006, 05:56 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •