iTunes Match: Creating a playlist offline can cause thousands of duplicates

Originator:jeremy
Number:rdar://10704294 Date Originated:16-Jan-2012
Status:Open Resolved:
Product:iTunes Product Version:10.5.2
Classification:Serious bug Reproducible:I didn't try
 
Summary: (I believe) creating a playlist while you don't have network connectivity can cause thousands of duplicated empty playlists to be created.

Steps to Reproduce:

These are the steps that made it happen for me. I was unwilling to try again because the consequences were so severe that it took 3 iPhones firmware restores to get it back to functional.
1. While you don't have network connectivity (I was in another country with roaming and WiFi turned off, but I believe Airplane Mode also works), create a new playlist on your iPhone. Use as normal.
2. When you come back into network connectivity, there may be thousands of playlists created that have the same name as the one you created offline. They are all empty, having no songs.

Now you are basically stuck with these. I used an Automator workflow to remove all of the playlists from iTunes on my computer, which worked fine. However those changes would not sync onto the iPhone via iTunes Match, it was still stuck with all the empty duplicates which dramatically showed down the Music app. (iPhone 4S).

Even when restoring the iPhone from iCloud, these thousands of duplicate empty playlists were put back on the phone, leaving you with the same problem. The eventual solution was to turn off iTunes Match on the phone, backup to iCloud, then restore from iCloud, which left me with an empty Music app on the iPhone. I was then able to re-enable iTunes Match and use it normally after that.

Expected Results:
- Playlists created offline should sync normally once you come back into network service.

Actual Results:
- Playlists created offline may be duplicated thousands of times, which is extremely severe and almost impossible to get rid of.

Regression:

Notes:

There is a thread on Apple forums where many people have this problem:
https://discussions.apple.com/thread/3505359?start=0&tstart=0

Comments

Same Issue - Airplane Mode

I experienced the same issue when creating a playlist on a flight with my iPhone in Airplane Mode and iTunes Match enabled. When I landed and synced up with my MBP I found that it had created 8000 copies of the same playlist, all empty. To my horror, running an Automator script to remove empty playlists worked for iTunes on my MBP, but leaves the 8000 playlists intact on my iPhone.

The iPhone will not sync now. I've attempted one firmware restore that did not fix the problem - as soon as iTunes Match was enabled, all 8000 playlists appeared and syncing began to fail.

I'm going to attempt another firmware restore, and this time leave iTunes Match completely out of the equation by disabling it on all devices involved.

By chrisboyd.net at March 7, 2012, 8:55 p.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!