PDA

View Full Version : Slimserver calls some playlists empty when they aren't



killick
2007-10-07, 06:28
Slimserver says my playlists are empty, but when I open the .m3u files with an editor, I can see that they are not. Strangely, this is only affecting some of my playlists, not all, and I can't see any differences among them.

I'm using absolute paths in m3u lists on Ubuntu 7.04 and a SB2.
SlimServer Version: 6.5.4 - 12568 - Debian - EN - iso-8859-1
Perl Version: 5.8.8 i486-linux-gnu-thread-multi
MySQL Version: 5.0.38-Ubuntu_0ubuntu1

These things have not worked:
-rescanning the playlists.
-copying to a new name and rescanning the playlists.
-changing the permissions to rwx on a playlist and rescanning

What's also strange is that the 'empty' playlists will still play using Amarok.

Creating and playing new playlists, either with the remote control or using the web interface works perfectly.

Anyone know how to get the Slimserver to read my playlists again?

Thanks,

Siduhe
2007-10-07, 06:55
Do the playlists use absolute or relative paths?
If you open up the playlists in a text editor like Wordpad, what is the file path? Is it the same as the file path for your music folder as Slimserver / SqueezeCenter sees it?

Slimserver needs absolute not relative playlist paths, so if the playlist doesn't reference your files the same way that Slimserver does, they won't play. If that is the problem, just manually edit the playlists (find and replace) to change the file path.

killick
2007-10-07, 11:23
Thanks for the suggestion. But I am already using absolute paths.

Here's the first few lines from one of my playlists that slimserver can't read (but Amarok can read):

#CURTRACK 27
#EXTM3U
#EXTINF:-1,It's The Nighttime
/mnt/disk2/audiofiles/josh_rouse/nashville/01_It_s_The_Nighttime.mp3
#EXTINF:-1,Winter In The Hamptons
/mnt/disk2/audiofiles/josh_rouse/nashville/02_Winter_In_The_Hamptons.mp3
#EXTINF:-1,Streetlights
/mnt/disk2/audiofiles/josh_rouse/nashville/03_Streetlights.mp3
#EXTINF:-1,Carolina

As you can see, these are the absolute paths.

Here are the first few lines from a working playlist:

#CURTRACK 0
#EXTM3U
#EXTINF:-1,Same Old Song And Dance
/mnt/disk2/audiofiles/aerosmith/greatest_hits/same_old_song_and_dance.ogg
#EXTINF:-1,Al Green - Here I Am (Come And Take Me)
/mnt/disk2/audiofiles/al_green/greatest_hits/al_green__here_i_am_come_and_take_me.ogg
#EXTINF:-1,Al Green - I Can't Get Next To You
/mnt/disk2/audiofiles/al_green/greatest_hits/al_green__i_cant_get_next_to_you.ogg
#EXTINF:-1,Al Green - Let's Stay Together
/mnt/disk2/audiofiles/al_green/greatest_hits/al_green__lets_stay_together.ogg

I don't know why one shows up empty and the other does not.

-- Killick

Dougal
2007-10-07, 14:33
Almost certainly file permissions, user "slimserver" requires read/write permission for the playlist. You will probably find one is owned by you and the other that does play is owned by slimserver.

Doug.

killick
2007-10-07, 16:25
Hi, Doug.

Thanks for your comment. I've given away the store (chmod 777) on the .m3u file and it has made no difference to how slimserver sees it. Is this an ownership problem? Who is the user if I want to chown?

Thanks,

-- Killick