Bugzilla – Bug 11970
web interface doesn't throw error when playlist can't be saved
Last modified: 2009-10-05 14:36:53 UTC
I had my squeezecenter playlist folder configured for a directory that the squeezecenter user didn't have write perms on. When attempting to save a playlist no error was encountered in the web interface. There was errors in the server logs, however I'd think an error should be thrown in the web interface to let the user know that there's a problem saving the playlist.
I thought the default was that if the playlist dir wasn't writable, it would be written to the cache dir (where it would also be automatically read from when you browse playlists). Did it do that (or try to)?
I think you're likely correct. I'll have to change the perms back and test again to confirm. Here's some additional details on what I noticed previously ..... When I saved the playlist it did appear in the web interface and from my players, initially. However after a day or so it was gone. Not sure when exactly it disappeared, I noticed 2-3 days after initially saving it. I then checked the playlist dir and nothing was there. So I re-created the playlist and saved it. Again it was available from the web interface and players, but still nothing in the playlists dir. After checking the server logs I was able to determine that the squeezebox user didn't have write perms on my playlist dir. After correcting that I re-saved the playlist and of course at this point the playlist appeared under the playlist dir. If this is the expected behavior then I'd suggest throwing some sort of warning that the playlist wasn't able to be saved and that it would only reside in cache for N amount of time. It was quite annoying to discover my playlist had disappeared and have to re-create it, so anything you could to to make the user aware of this would be a good thing.
change 27856 - show error message when playlist can't be saved. CLI "playlist save|rename" command will return writeError=1 in this case.
This bug has been marked as fixed in the 7.4.0 release version of SqueezeBox Server! * SqueezeCenter: 28672 * Squeezebox 2 and 3: 130 * Transporter: 80 * Receiver: 65 * Boom: 50 * Controller: 7790 * Radio: 7790 Please see the Release Notes for all the details: http://wiki.slimdevices.com/index.php/Release_Notes If you haven't already, please download and install the new version from http://www.logitechsqueezebox.com/support/download-squeezebox-server.html If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.