I know I've been away for quite some time and most of you probably won't even remember me. A lot of stuff happened during the last two years and my life focus shifted more towards my job, other projects and private life. As you may have noticed: I handed control of the Support Site back over to Keltic Danor, who is doing really great as the new Support Site Guru.
Still, I'm an avid user of XMPlay and like programming a lot. That is why I wrote a PHP class that can read a XMPlay .library file into an object structure and spit it back out as XML. I initially planned to include this script into the Support Site, but that was quite a while ago. The files are now exactly 1 year + 1 day old and have been idling on my hard drive since then. The script might even need adaptation to any library format changes that might have happened in the mean time, so don't expect it to work right out of the box. The idea was to allow some kind of data analysis with the XML stream and to enable some kind of other tool to generate cool graphs out of your listening habits.
I don't know what anyone of you is going to use it for, but here it is. Do with it whatever you like, but please don't ask me for support, like "how do I use this?", "how do I install PHP?" or "what does it do?"
Just a comment on the .zip contents:
- index.php - example script that uses the class to convert a "xmplay.library" file in the same directory to "xmplay.library.xml".
- XMPlayLibrary.class.php - the core class which contains all song entries and does the XML conversion.
- XMPlayLibraryEntry.class.php - a subclass for single song entries.
- xmplay35_library_format.txt - a description of the library file format in XMPlay 3.5.
(Yes, I'm aware that these classes are coded by PHP4 OOP standards, which are outdated.)
Use this PHP class to convert .library files into XML. No warranties, no support. If you don't know your way around PHP or have never heard of OOP, don't download this.
Anyway, comments are welcome!