Hey people... I had the same issue 30k+ playlists were created. It is definitely related to airplane mode. I've edited an existing playlist in airplane mode with no issue, but if you create one and enter airplane mode shortly after all **** breaks loose. As someone mentioned earlier, the longer the flight the more duplicates you get.
I'm seeing everyone is fixing it differently.
For me this worked:
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.