newTunes seems like a pretty cool dashboard widget. It will let you know when new music is in the iTunes Music Store for any of the artists in your iTunes library.
Unfortunately, it doesn't work well for me. I installed it on Friday, and on Monday it still doesn't display anything. The problem is that the widget launches an AppleScript that, I believe, is building the list of the artists and the local tracks for those artists. On my library that has 7800 tracks, this takes a long time.
I think that it would be better for this widget to parse the iTunes Library xml file itself. (I believe that Apple has an API to do this, this is what iPhoto uses to show the list of tracks for slideshows.) This would be a lot faster, and would allow the widget to show status while the list is being built.
[via TUAW]
Technorati Tags: AppleScript, Dashboard Widget, iTunes, newTunes
I don't believe there is an API. I have looked for it to no avail. I have found several third party version but none from Apple. Let me know if you find anything.
ReplyDeleteHey I've released a new version of the widget that addresses this problem in the way you mentioned, by parsing the iTunex XML. It is alot more reliabele. There isn't a direct API for interacting with the iTunes XML that I found, I just had to use a Cocoa bundle and NSXMLParser. Luckily the iTunes XML file is in a standard place on everyone's machine. Give it another shot and it should work for ya. Thanks
ReplyDelete