jmargolese
New member
- Joined
- Jan 18, 2008
- Messages
- 1
- Points
- 0
I installed and ran Doug's Reshuffle Smart PLaylists script. First time, last week it ran perfectly.
Tried it again yesterday and it deleted all the tracks in my library AND all the physical tracks for any music in my smart playlists. I've got backups of most of it, but it will be a pain to rebuild. (Yes, it was running slow, but as it happened I left for a while while it was running and didn't have any reason to suspect a massive physical deletion.)
My real question is HOW could this happen?
The script is below, and looks pretty safe. Anyone got any ideas on what might have gone wrong?
Thanks
tell application "iTunes"
repeat with x from 1 to count of user playlists
if user playlist x is smart then
try
delete tracks of user playlist x
on error
end try
end if
end repeat
end tell
Tried it again yesterday and it deleted all the tracks in my library AND all the physical tracks for any music in my smart playlists. I've got backups of most of it, but it will be a pain to rebuild. (Yes, it was running slow, but as it happened I left for a while while it was running and didn't have any reason to suspect a massive physical deletion.)
My real question is HOW could this happen?
The script is below, and looks pretty safe. Anyone got any ideas on what might have gone wrong?
Thanks
tell application "iTunes"
repeat with x from 1 to count of user playlists
if user playlist x is smart then
try
delete tracks of user playlist x
on error
end try
end if
end repeat
end tell