Last updated: Sun, 09th October, 2005 @ 05:00am +0000
You are here: Home

iTunesDBParser

iTubesDBParser is an open source parser and converter of the iTunesDB file found on screen based ipods of all generations. It can be used by other java developers who wish to have an object orientated representation of the iTunesDB for their own projects, or to act as a converter of the iTunesDB file into XML ready for transformation or further processing.

The XML file that is serialized looks like:

<itunes-parser-root>
  
<playlists>
    
<playlist id="917826494">
      
<name>Name of your iPod</name>
    
</playlist>
    
<playlist id="-472172155">
      
<name>Name of this playlist</name>
      
<tracks>
        
<track id="2577">
          
<title>First Song</title>
          
<artist>The artist of the first song</artist>
          
<location>\iPod_Control\Music\F20\First_Song.mp3</location>
          
<album>The name of the album</album>
          
<genre>The genre of the song</genre>
          
<file-type>MPEG audio file</file-type>
          
<eq-settings>The EQ settings for this song</eq-settings>
          
<comment>Any additional comment</comment>
          
<category>Category</category>
          
<composer>Composer</composer>
          
<group>Group</group>
          
<description>Description</description>
        
</track>
        
<track id="2578">
          
<title>Second Song</title>
          
<artist>The artist of the second song</artist>
          
<location>\iPod_Control\Music\F08\Second_Song.mp3</location>
          
<album>The name of the album</album>
          
<genre>The genre of the song</genre>
          
<file-type>MPEG audio file</file-type>
          
<eq-settings>The EQ settings for this song</eq-settings>
          
<comment>Any additional comment</comment>
          
<category>Category</category>
          
<composer>Composer</composer>
          
<group>Group</group>
          
<description>Description</description>
        
</track>
      
</tracks>
    
</playlist>
    
<playlist id="717932294">
      
<name>The next playlist</name>
        
<track id="3511">
          ...
        
</track>
    
</playlist>
  
</playlists>
</itunes-parser-root>