Reply
   
 What file contains the iTunes playlists 
 
 
  #1 (permalink)  
Old 19-02-2008, 04:58 PM
Regular

Group: Regulars
Location: Smirnoff county


What file contains the iTunes playlists

Hi guys/gals,

I am looking at writing a haxie to copy files out of the iTunes library based on playlists for the purpose of making CDs or DVDs for my car's MP3 player.

Mainly due to the folder structure being all wrong in a physical sense.

So.... what file or files are the play lists stored in?
__________________
"The Toaster": White 2.0GHz C2D Macbook 2GB/250GB(Mothership)/SD, LEOPARD
"iTouchMeBabe": 16GB iPod Touch, 2.1 FW
"Smirnoff": G4 450MHz Sawtooth, Debian 4.0 PPC
BiRDBRAiN is offline
Profile CardPM
Go to the top of the page
Reply With Quote
Huy
  #2 (permalink)  
Old 19-02-2008, 05:07 PM
It's a cruel, cruel summer

Group: Regulars
Location: NSW


m3u ?
Huy is offline
Profile CardPM
Go to the top of the page
Reply With Quote
mab
  #3 (permalink)  
Old 19-02-2008, 05:09 PM
Regular

Group: Regulars
Location: Darwin


I think it's Music/iTunes/iTunes Music Library.xml
__________________
 C2D MBP 15.4" 2.53GHz
 iPhone 16GB
٩๏̯͡๏)۶ LINUX: Fedora 9
mab is offline
Profile CardPM
Go to the top of the page
Reply With Quote
  #4 (permalink)  
Old 19-02-2008, 05:14 PM
Regular

Group: Regulars
Location: Smirnoff county


The XML file holds all the track info, but I can't see any playlist info in there.
__________________
"The Toaster": White 2.0GHz C2D Macbook 2GB/250GB(Mothership)/SD, LEOPARD
"iTouchMeBabe": 16GB iPod Touch, 2.1 FW
"Smirnoff": G4 450MHz Sawtooth, Debian 4.0 PPC
BiRDBRAiN is offline
Profile CardPM
Go to the top of the page
Reply With Quote
  #5 (permalink)  
Old 19-02-2008, 05:15 PM
Regular

Group: Regulars
Location: Smirnoff county


BTW, once I'm done I will post it up for other people who might want to do the same thing.

EDIT: Will probably be a Java app so I will try and make it Mac and Windows compatible.
__________________
"The Toaster": White 2.0GHz C2D Macbook 2GB/250GB(Mothership)/SD, LEOPARD
"iTouchMeBabe": 16GB iPod Touch, 2.1 FW
"Smirnoff": G4 450MHz Sawtooth, Debian 4.0 PPC
BiRDBRAiN is offline
Profile CardPM
Go to the top of the page
Reply With Quote
mab
  #6 (permalink)  
Old 19-02-2008, 05:23 PM
Regular

Group: Regulars
Location: Darwin


Quote:
Originally Posted by BiRDBRAiN View Post
The XML file holds all the track info, but I can't see any playlist info in there.
Mine has something like this

<dict>
<key>Name</key><string>Mark</string>
<key>Playlist ID</key><integer>17922</integer>
<key>Playlist Persistent ID</key><string>FE7399DE8F49AD7B</string>
<key>All Items</key><true/>
<key>Playlist Items</key>
<array>
<dict>
<key>Track ID</key><integer>6676</integer>
</dict>
<dict>
<key>Track ID</key><integer>4029</integer>
</dict>
</array>
</dict>

But can't find any other reference to the Track ID number
__________________
 C2D MBP 15.4" 2.53GHz
 iPhone 16GB
٩๏̯͡๏)۶ LINUX: Fedora 9
mab is offline
Profile CardPM
Go to the top of the page
Reply With Quote
  #7 (permalink)  
Old 19-02-2008, 06:12 PM
Regular

Group: Regulars
Location: Manly, Sydney


Yeah, playlists are held in the xml file. Track info is held further up the file, and can be referenced by track ID number.

This document may help "Hacking iTunes".
Ginamos is offline
Profile CardPM
Go to the top of the page
Reply With Quote
  #8 (permalink)  
Old 20-02-2008, 06:24 AM
Regular

Group: Regulars
Location: Smirnoff county


Ah nice.

Thanks for the reponses.

I'll have something going in the next few days.
__________________
"The Toaster": White 2.0GHz C2D Macbook 2GB/250GB(Mothership)/SD, LEOPARD
"iTouchMeBabe": 16GB iPod Touch, 2.1 FW
"Smirnoff": G4 450MHz Sawtooth, Debian 4.0 PPC
BiRDBRAiN is offline
Profile CardPM
Go to the top of the page
Reply With Quote
  #9 (permalink)  
Old 20-02-2008, 06:36 AM
Regular

Group: Regulars
Location: Central Coast, NSW


if you wanted to use applescript (meaning it will only work on macs), it's very easy to communicate directly with iTunes to receive the playlist information and songs contained therein.
something2sea is offline
Profile CardPM
Go to the top of the page
Reply With Quote
 
Reply

Thread Tools

 
Similar Threads
 
Thread Thread Starter Forum Replies Last Post
iTunes Smart Playlists Kuma Mac OS X & All Software 7 08-10-2007 10:34 PM
Compare iTunes playlists chrisede Help and New Mac User Support 1 18-06-2007 08:29 PM
copying itunes playlists to pendrive loubanga iPods, iPod Accessories & Other Digital Music Players 3 14-02-2007 08:40 AM
iTunes smart playlists antechinus55 Mac OS X & All Software 12 30-08-2006 03:35 PM
iTunes - exporting playlists glenmorrow iPods, iPod Accessories & Other Digital Music Players 0 19-03-2005 09:57 PM