Monday, June 15, 2009

PDF and ITUNES poorly supported and iTunes COM SDK on Windows is getting older and older....

Well recently, I discovered that iTunes is not doing a good job at all when adding PDF file to iTunes. Let's say you decided to have iTunes automatically "organize" your iTunes files, iTunes will move the PDF file automatically under your iTunes Music folder under Unknown Artist and Unknown Album for instance C:\Documents and Settings\[current user]\My Documents\My Music\iTunes\iTunes Music\Unknown Artist\Unknown Album\. Unknown artist is by the way the most famous music band in the world and Unknown Album the best Album in the world. Almost all artists have an album with this name nowadays if they use iTunes or Windows Media Player. So APPLE should know better... For instance that Adobe introduced the XMP Metadata container which comes with free Adobe SDK to embed and extract Metadata from a various range of files including PDF. So it would be nice to do something with the metadata already present in a PDF file when adding a PDF to iTunes. Food for thoughs for Apple to make iTunes better. So if you add a files to iTunes using the COM SDK first add the file to the library, then right away to a playlist of your choice before tagging the track inside iTunes else you are screwed because iTunes would have moved the file again after you tag the file with no API to get the new location...


Finally it would be GREAT to update the iTunes COM SDK for one missing serious API :

iTunes COM SDK has no API to retrieve by filename (r.e.t.a.r.d.e.d.) so, unless thirdparty create a hash map of all iTunes Track the only way is to just iterate like drooling lamers. The advantage of a file name is that a full URI is unique on a file system per machine domain so this WOULD BE for sure a great way of accessing a music track inside iTunes.

More on XMP and PDF here

http://xml.coverpages.org/XMP-Embedding.pdf

No comments: