iTunes set Track Location
iTunes set Track Location
- Subject: iTunes set Track Location
- From: Jeremy Schmersal <email@hidden>
- Date: Wed, 9 Aug 2006 13:29:56 -0700 (PDT)
Hi,
I know this is the applescript users forum, so I apologize in advance
for asking a question about the Windows COM iTunes SDK, but perhaps the
answer is the same independent of language.
My wife and I use the same set of music files, but each of us has a
separate iTunes library (we're separate Windows XP users). At some
point one of my iTunes upgrades seems to have renamed almost all of my
files (I'm guessing from mp3->m4a based on extensions). It updated the
Location field for each track in my own iTunes library, but it didn't
do so for my wife.
So, I need to change where the tracks are pointing to in her library.
Rather than hand-editing the file, I figured I'd use the iTunes COM
SDK (actually the JScript interface), and I'm able to step through the
various tracks and identify which Track.Location's are wrong, however,
whenever I try to update it:
currTrack.Location = "C:/path/to/file/file.m4a";
I get an error - it appears the Location isn't write-able. Any ideas?
Is there another interface to set the Location?
Thanks (and sorry again for a Windows question),
Jeremy
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden