6.01 Not Parsing iTunes Playlists Correctly
Posted: Wed Aug 25, 2010 7:32 am
Twonkyserver version: 6.01 Linux x32
iTunes 9.2.0.61
My iTunes playlists show up in the Twonky Server Media Browser. However, when clicking on the playlist names there are not any songs in them. After some investigating I've found that Twonky is reading my iTunes Library.xml file but not setting the correct path to the songs.
Here's a sample from my iTunes Library.xml file:
<key>2315</key>
<dict>
<key>Track ID</key><integer>2315</integer>
....
<key>Persistent ID</key><string>9F325AC53B5E2AD2</string>
<key>Track Type</key><string>File</string>
<key>Location</key><string>/share/Matt/Music/iTunes/Music/Compilations/The%20Big%2080's/Take%20On%20Me.m4a</string>
<key>File Folder Count</key><integer>5</integer>
<key>Library Folder Count</key><integer>1</integer>
</dict>
Here's the Twonky file music/"uploaded songs"/iTunes-playlist-80_s_Songs##M.wpl for my "80's Songs" playlist:
<?wpl version="1.0"?>
<smil>
<head>
<meta name="Generator" content="TwonkyMedia"/>
<meta name="ItemCount" content="17"/>
<meta name="Type" content="M"/>
<meta name="Source" content="iTunes"/>
<title>80's Songs</title>
</head>
<body>
<seq>
<media src="es/Music/Compilations/The Big 80's/Take On Me.m4a"/>
<media src="es/Music/Compilations/Billy Idol_ Greatest Hits/Dancing With Myself.m4a"/>
<media src="es/Music/Compilations/Billy Idol_ Greatest Hits/White Wedding, Pt. 1.m4a"/>
<media src="es/Music/Compilations/The Big 80's/Rapture.m4a"/>
<media src="es/Music/Compilations/The Big 80's/You Might Think.m4a"/>
<media src="es/Music/Chris Isaak/Best of Chris Isaak (Remastered)/Wicked Game 1.m4a"/>
<media src="es/Music/Eurythmics/Eurythmics_ Ultimate Collection/03 Sweet Dreams (Are Made of This) [.m4a"/>
<media src="es/Music/Compilations/The Big 80's/Cars.m4a"/>
<media src="es/Music/Compilations/The Big 80's/We Got The Beat.m4a"/>
<media src="es/Music/Men at Work/Men At Work_ Super Hits/Down Under 1.m4a"/>
<media src="es/Music/Compilations/The Big 80's/The Safety Dance.m4a"/>
<media src="es/Music/Compilations/The Big 80's/99 Red Balloons.m4a"/>
<media src="es/Music/Nena/99 Luftballons/11 99 Luftballons.m4a"/>
<media src="es/Music/New Order/Singles/Blue Monday 1.m4a"/>
<media src="es/Music/Compilations/The Big 80's/Abracadabra.m4a"/>
<media src="es/Music/Compilations/The Big 80's/867-5309_Jenny.m4a"/>
<media src="es/Music/UB40/The Very Best of UB40, 1980-2000/Red Red Wine.m4a"/>
</seq>
</body>
</smil>
</body>
</smil>
sic/Compilations/The Big 80's/Abracadabra.m4a"/>
<media src="e/Matt/Music/iTunes/Music/Compilations/The Big 80's/867-5309_Jenny.m4a"/>
<media src="e/Matt/Music/iTunes/Music/UB40/The Very Best of UB40, 1980-2000/Red Red Wine.m4a"/>
</seq>
</body>
</smil>
40/The Very Best of UB40, 1980-2000/Red Red Wine.m4a"/>
</seq>
</body>
</smil>
Somehow the path is being changed from /share/Matt/Music/iTunes/Music/Compilations/ to es/Music/Compilations/. The last part of the *.wpl file is all messed up too. This looks like a bug.
iTunes 9.2.0.61
My iTunes playlists show up in the Twonky Server Media Browser. However, when clicking on the playlist names there are not any songs in them. After some investigating I've found that Twonky is reading my iTunes Library.xml file but not setting the correct path to the songs.
Here's a sample from my iTunes Library.xml file:
<key>2315</key>
<dict>
<key>Track ID</key><integer>2315</integer>
....
<key>Persistent ID</key><string>9F325AC53B5E2AD2</string>
<key>Track Type</key><string>File</string>
<key>Location</key><string>/share/Matt/Music/iTunes/Music/Compilations/The%20Big%2080's/Take%20On%20Me.m4a</string>
<key>File Folder Count</key><integer>5</integer>
<key>Library Folder Count</key><integer>1</integer>
</dict>
Here's the Twonky file music/"uploaded songs"/iTunes-playlist-80_s_Songs##M.wpl for my "80's Songs" playlist:
<?wpl version="1.0"?>
<smil>
<head>
<meta name="Generator" content="TwonkyMedia"/>
<meta name="ItemCount" content="17"/>
<meta name="Type" content="M"/>
<meta name="Source" content="iTunes"/>
<title>80's Songs</title>
</head>
<body>
<seq>
<media src="es/Music/Compilations/The Big 80's/Take On Me.m4a"/>
<media src="es/Music/Compilations/Billy Idol_ Greatest Hits/Dancing With Myself.m4a"/>
<media src="es/Music/Compilations/Billy Idol_ Greatest Hits/White Wedding, Pt. 1.m4a"/>
<media src="es/Music/Compilations/The Big 80's/Rapture.m4a"/>
<media src="es/Music/Compilations/The Big 80's/You Might Think.m4a"/>
<media src="es/Music/Chris Isaak/Best of Chris Isaak (Remastered)/Wicked Game 1.m4a"/>
<media src="es/Music/Eurythmics/Eurythmics_ Ultimate Collection/03 Sweet Dreams (Are Made of This) [.m4a"/>
<media src="es/Music/Compilations/The Big 80's/Cars.m4a"/>
<media src="es/Music/Compilations/The Big 80's/We Got The Beat.m4a"/>
<media src="es/Music/Men at Work/Men At Work_ Super Hits/Down Under 1.m4a"/>
<media src="es/Music/Compilations/The Big 80's/The Safety Dance.m4a"/>
<media src="es/Music/Compilations/The Big 80's/99 Red Balloons.m4a"/>
<media src="es/Music/Nena/99 Luftballons/11 99 Luftballons.m4a"/>
<media src="es/Music/New Order/Singles/Blue Monday 1.m4a"/>
<media src="es/Music/Compilations/The Big 80's/Abracadabra.m4a"/>
<media src="es/Music/Compilations/The Big 80's/867-5309_Jenny.m4a"/>
<media src="es/Music/UB40/The Very Best of UB40, 1980-2000/Red Red Wine.m4a"/>
</seq>
</body>
</smil>
</body>
</smil>
sic/Compilations/The Big 80's/Abracadabra.m4a"/>
<media src="e/Matt/Music/iTunes/Music/Compilations/The Big 80's/867-5309_Jenny.m4a"/>
<media src="e/Matt/Music/iTunes/Music/UB40/The Very Best of UB40, 1980-2000/Red Red Wine.m4a"/>
</seq>
</body>
</smil>
40/The Very Best of UB40, 1980-2000/Red Red Wine.m4a"/>
</seq>
</body>
</smil>
Somehow the path is being changed from /share/Matt/Music/iTunes/Music/Compilations/ to es/Music/Compilations/. The last part of the *.wpl file is all messed up too. This looks like a bug.