Currently Being ModeratedSep 9, 2011 2:31 PM (in response to pomme4moi)
As Dave notes, the playlists are not individually stored in an accessible way. However, if you need a machine readable listing of a particular playlist, right-click the playlist name, choose "Export..." and tell it which format you'd like, the choices being text, M3U, or XML.
Currently Being ModeratedSep 10, 2011 2:05 AM (in response to varjak paw)
Thank you Dave. Do you mean the iTunes Library.xml file, or the iTunes Music Library.xml file? I see both listed in the iTunes folder. What is the difference between these two files?
According to Finder, the iTunes Music Library.xml file was last modified in June. The iTunes Library.xml file was last updated today.
Currently Being ModeratedSep 10, 2011 2:59 PM (in response to pomme4moi)
If you look at the size of those two files, you will see that one is much larger than the other. The stuff Dave is referring to is in the larger.
If you want to see its contents, open it with a browser, or a text editor, or an XML editor.
Currently Being ModeratedSep 10, 2011 4:21 PM (in response to ed2345)
Thanks ed2345. On my machine the iTunes Library.xml file is 10mb. The iTunes Music Library.xml file is 9mb. They are similar in size. I am still trying to understand the difference in purpose between these two files.
The fact that the iTunes Music Library.xml file has not been modified since June, and the fact that it is a little smaller than the other file, implies to me that maybe it is an old file no longer used by the current version of iTunes. Possible?
I am on iTunes 10.4.1. Thanks
Currently Being ModeratedSep 10, 2011 7:17 PM (in response to pomme4moi)
If the iTunes library has been moved (it is not in /Music/), iTunes will create the iTunes music library.xml file.
Note that iTunes does not use the .xml files. They are created for other apps to access the iTUnes library.
iTunes uses the iTunes library.itl file.
Currently Being ModeratedSep 13, 2011 7:15 PM (in response to Chris CA)
Thanks to all for your answers. I deleted the iTunes Music Library.xml with no apparent adverse impacts. So I guess it was an old version that is no longer used. It was causing duplicate playlist entries in my Sonos system. All ok now!
Currently Being ModeratedSep 14, 2011 11:18 AM (in response to Chris CA)
If the library is in the default location the xml file is called iTunes Music Library.xml, if the library has been moved or is created elsewhere the xml file is called iTunes Library.xml. On a Mac the database is normally called iTunes Library, on a PC it is iTunes Library.itl.