Playlists are empty

General discussion about the media server. Feature requests. Hints, tips and tricks.
Locked
505
Posts:23
Joined:Mon Feb 01, 2010 2:23 pm
AV Hardware:Sheevaplug with TwonkyMedia server
Playlists are empty

Post by 505 » Sat Mar 20, 2010 4:15 pm

There is a problem with the playlist parsing in Twonkymedia Server. Observing the logs I can see two different problem.

Say I have a playlist caled 'test.m3u' in a directory '/home/me/playlists'. The contents of the playlist is:

Code: Select all

#EXTM3U
#EXTINF:,Test
/home/everyone/music/test.mp3
The logs show:

Code: Select all

LOG_SCAN: locate_playlist_file_by_dir [/home/me/playlists] [/home/everyone/music/test.mp3]
locate_playlist_file_by_dir check=[/home/me/playlists/home/everyone/music/test.mp3]
ocate_playlist_file_by_dir check=[/home/me/playlists/everyone/music/test.mp3]
locate_playlist_file_by_dir check=[/home/me/playlists/music/test.mp3]
locate_playlist_file_by_dir check=[/home/me/playlists/test.mp3]
The path where the playlist is locate is always appended to the path in the playlist, and recursively a directory is removed from the path in the playlist. However, since the file is located outside the folder with the playlist, the file will never be found.

A second problem is with playlists containing a web address, e.g.

Code: Select all

#EXTM3U
#EXTINF:0,Studio Brussel
http://mp3.streampower.be/stubru-high
The log file later contains:

Code: Select all

parse_playlist - can't find file http://mp3.streampower.be/stubru-high in DB, skip it
resulting in an empty playlist.

This behaviour can be duplicated in the Windows build, the Linux i386, and Kirkwood build. And as far as I can tell it happens on all 5.x.x versions.

I hope you can look into this and fix it. That would the wonderful Twonky even better!

Locked