Move playlists from iPhone to iTunes

I accidentally deleted my iTunes playlists but they are still on my iPhone. How can I copy them to iTunes on my iMac?

iMac, Mac OS X (10.7.4)

Posted on Jul 1, 2012 2:12 PM

Reply
128 replies

Jul 17, 2012 1:24 PM in response to Chris CA

Thanks for your answer to Melissa's question Chris. It told me what I needed to do to copy a playlist from my iPhone to my iTunes. I found her comment about how she solved the problem unclear. I am also unclear why she felt your answer was not the answer she asked for. By the way I used a text file for the transfer on my windows OS computer. So maybe it does not mater if you use xml or txt as the format for the file. Thanks again.

Nov 11, 2012 1:31 PM in response to B Real

You might find my thoughts on Grouping track into albums useful in regard to the whole mix albums and artist vs. album artist thing.


"Don't use playlists" isn't very constructive. "Backup & don't lose your library" is better, but obviously no use if it has already happened. I could probably write a recursive playlist rescuing script for Windows (if I could find the time) but that wouldn't be much use to you.


tt2

Jan 30, 2013 6:41 AM in response to Pandonodrim

.m3u playlists are essentially a text file containing an ordered list of file paths. Given that paths to the internal storage of an iPhone are not exposed to Windows Explorer I would imagine that nothing was added to the playlist because none of the imported entries appeared valid.


I could explore the script idea a little further...


Each object, such as a track or playlist, inside iTunes can be accessed via its LibraryPersistentID. Playlists are lists of such IDs. As long as you're syncing/managing the device with one library each ID on the device ought to match up with one in the library so replicating information from the device to the library, such as play counts and ratings is relatively simple. If you have a "new" library, even built from the same original source files, then the IDs in the device created with an earlier library won't match. I wrote a script called SyncStats a while back to import ratings and play counts in such circumstances which I should be able to adapt for this purpose.


tt2

May 11, 2013 11:27 PM in response to MelissaLynD

I would like to get same answer. I read other instruction with exporting importing playlist as xml.


Think is when I export my playlist on Desktop from ipod -> when I try to import the msame file in itunes libary he shows "Some of the songs in the file "playlist.xml" were not imported because they could not be found.


Commong Apple champions help us with this.....

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Move playlists from iPhone to iTunes

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.