iTunes: Adding tracks with missing files to playlist seems impossible
iTunes: Adding tracks with missing files to playlist seems impossible
- Subject: iTunes: Adding tracks with missing files to playlist seems impossible
- From: Skeeve <email@hidden>
- Date: Wed, 28 Nov 2007 19:53:16 +0100
Hi!
I wrote a rally fast script that identifies all my missing iTunes files.
Now I wanted to create a playlist containing these tracks.
No problem when you do it in the GUI: Select tracks with missing files
(those with the (!) sign) and select "New Playlist from Selection" (or
whatever it's called in english).
But trying it with applescript, NOT using GUI scripting seems impossible.
"add" doesn't work because it needs the location.
"duplicate" doesn't work either. It needs a reference to the track,
which I have, but still fails.
Using a smart playlist fails too. I tried to add "**missing**" to the
end of the comment but of course: This info is stored in the id3 tags
(or not?) and so it can't be changed, because there is no such file.
Using a smart playlist and setting the playcount (which I thought isn't
a ID3 value) to find that didn't work either.
The only idea that worked so far was: Creating a 0-byte file for each
missing file, setting up the playlist and then removing the files.
This works fine, as long as I *can* create the files. But it will fail
as soon, as I can't, for example when directories in the path are
missing and can't be created. Or maybe the drive that contains the file,
is not mounted.
So does anyone of you have a clever idea how to get a playlist
containing all tracks with missing files, provided that I already have
the track number of those tracks.
-- Skeeve
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden