View Single Post
Old 04-21-2008, 12:52 PM   #21
NeonDev
Variable Bitrate
 
NeonDev's Avatar
 
Join Date: Feb 2008
Vehicle: 2005 Saturn Ion
Posts: 324
My Photos: ()
Quote:
that part should actually not be that hard. what i am doing is parsing through the .itc byte by byte and extracting the data that is contained inside. one piece of data is the persistentId. this matches up to the persistentId that shows up in the itunes xml for a particular song/album.

that is ONLY true for the "local" folder (ie the folder containing the itc files for the songs with embedded album art. worthless imo because if the song has embedded art you can simply get the artwork from the file) so you will still be unable to view the album art for songs where you used the itunes advanced->get album art function. there is no album persistent id in the itunes XML.

please correct me if I am wrong and you have found a way to match an itc from the "download" folder to a song in the itunes library

Quote:
now i have the first part working great where i can read all the data in the file my problem is displaying the pic. what are you doing to display the actual picture?

I no longer use the itc file directly. I use leopards quicklook framework which will work for any song downloaded art or not. But when i did all i did was read the itc file into memory and extract the image portion into a new image object
__________________
check us out at: www.neonboombox.com
NeonDev is offline   Reply With Quote