Bug 5136 - Playlists not saved in folder, lost at rescan
: Playlists not saved in folder, lost at rescan
Status: RESOLVED WORKSFORME
Product: Logitech Media Server
Classification: Unclassified
Component: Playlists
: 6.5.2
: PC SuSE Linux
: P2 normal with 1 vote (vote)
: ---
Assigned To: Ross Levine
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-06-23 06:04 UTC by Hans Palm
Modified: 2007-12-17 09:36 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hans Palm 2007-06-23 06:04:10 UTC
Playlists can be saved without any error messages but no files are saved in the playlist folder. During rescan, only old playlists (from a previous slimserver version) are available, those "saved" in the database are lost. Playlist handling (including international characters in file/folder names) must be prioritized in the next update...
Comment 1 Chris Owens 2007-06-26 09:46:51 UTC
Ross could you please try to reproduce this?
Comment 2 Ross Levine 2007-06-26 18:12:08 UTC
I'm not able to reproduce this. Hans are you using international characters in the playlist names you're creating? Have you specified a playlist director in server settings or not? 
Comment 3 Hans Palm 2007-06-27 01:29:22 UTC
The same happens both when using international characters in the playlist names and when not.
Yes, I´ve specified a playlist folder. The folder name seems to OK since the previously saved playlists are available when I do a complete rescan.
Comment 4 KDF 2007-06-27 08:22:28 UTC
is the playlist folder writeable/executable for the slimserver user? new playlist are saved in the db, then written out to the drive.  however, it looks like there should be some sort of note in the log if it can't create a filehandle: 
$output = FileHandle->new($filename, "w") || do {
			msg("Could not open $filename for writing.\n");
Comment 5 Hans Palm 2007-06-27 09:20:07 UTC
I did chmod o+rwx to the playlist folder even this didn't solve the problem. Where can I find the log file?
Comment 6 Hans Palm 2007-06-27 09:25:13 UTC
Another comment. I know there is a logfile somewhere, I´ve checked it when I struggled with upgrade to 6.5.2 with Suse 10 but then I added the path to the log file as an argument. Is there a default logfile somewhere?

Anyway, if basic operations are not successful, such as reading/writing the playlist file, there should be some form of error message to the user, both from the Squeezebox and from the web interface. The log file may contain ADDITIONAL information but all serious errors should be visible to the user... 
Comment 7 Chris Owens 2007-09-18 12:31:15 UTC
To set up logging of file operations, go to Server Settings -> Debugging -> and make sure that d_source and some other options are checked.  I don't have the same version of Slimserver as you do at the moment, but I think there is a d_file and d_playlist that should be included as well.

On linux systems the log is available in /var/logs/slimserver
Comment 8 Ross Levine 2007-11-26 18:41:28 UTC
Hans have you had a chance to take another look?
Comment 9 Chris Owens 2007-12-10 09:41:47 UTC
This does not seem to happen in 7.0.  If someone sees otherwise please reopen.