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?
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
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
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.
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.anyone out there good with applescript and itunes?
-dave
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
Bookmarks