I had created a playlist while on a flight and ended up with 24,000+ empty playlists and was losing my mind trying to individually delete them. I had scheduled an appointemnt at the Genius bar tomorrow and figured I would do some searching through the forums while I waited. Thankfully I came across this forum and the AppleScript fix from FDVrebeto13 cleared my empty playlists out in a matter of minutes. I haven't turned iTunes Match back on yet on my other devices so it remains to be seen if this fix will work across all my devices but at the very least the Applescript deleted the playlists on my MBA.
EDIT: Well 10 minutes later and all the playlists are back on my MBA. Guess I will keep that appointment after all.
Thanks so much
Apple I hope you are listening. This bug needs to be fixed or at the very least addressed in a Support Note.
FDVrebeto13 wrote:
I created an applescript:
with timeout of (45 * 60) seconds
tell application "iTunes"
delete (every playlist whose name is "Holiday")
end tell
end timeout
This sets a timeout of 45 mins... If you have over 30k I suggest changing it to over an hour by substituting the 45 with 60 or whatever suits you.
You must change the name to whatever your playlists are named (mine were named all the same so it worked, if not checkout dougscripts.com [and yes you guessed it, mine were called Holiday: nothing like this to get you out of the Christmas spirit]).
After I deleted them I left it untouched overnight since I guess it replicates with the itunes match severs and takes some time.
Early morning I updated itunes match, manually, and this did it for me.
Hope this helps.
You can monitor progress with the following script in case they don't all go away.
tell application "iTunes"
countplaylists
end tell
I saved this scripts in the folder:
/Users/username/Music/iTunes/Scripts
If the folder "scripts" doesn't exist... create it.
Hope this helps.
Message was edited by: Mosi