Bugzilla – Bug 6216
Favorites Empty
Last modified: 2008-12-18 11:12:53 UTC
When going to favourites in the player main menu, the favourites are displayed as "Empty". Looking at the favorites.opml-file, it still lists my favourites i had yesterday before going to bed. The server/computer has been restarted between yesteday evening and now. /Stefan
Created attachment 2444 [details] favorites.opml This is the favorites.opml-file. /Stefan
When assigning a new favorite from the player, the favorites-menu displays just that entry. Searching through my system, I find a new favorites.opml file in /var/cache/slimserver containing only the just entered favorite. Why has the server created a new favorites-file and forgetting about the old? /Stefan
Does the slimserver user have write access to your playlist dir? Have you changed that folder's permissions recently? I believe that slimserver tries to write favorites.opml to the playlist dir, but falls back to the cache dir if it can't write to the playlist dir. I'm not really sure what it does (or what it should do) if it can read a favorites opml file in both locations...
Hi, I have not myself changed the permissions on the file. ls -la gives the following: -rw-r--r-- 1 slimserver nogroup 656 2007-11-20 14:59 favorites.opml So slimserver seems to have write and read permissions on the file. /Stefan
what about permissions on the folder?
no change sice before on folder permissions, they are still: drwxr-xr-x 327 stefan stefan 20480 2007-11-22 10:45 Music But what difference should that make if the file slimsrver wants to write to has the correct permissions? /Stefan
The server checks for write permissions to the PLAYLIST dir. If that fails, then it will write to the cache dir, just as Fletch has pointed out above and basically fitting the symptoms you have mentioned. Check for slimserver write permissions on the playlist dir, not the music folder.
Playlist directory is the same as music folder. /Stefan
QA to try to reproduce
Any news, QA?
Stefan - can you still reproduce this with the latest version?
Hi! Currently I run SqueezeCenter-version: 7.0 - 15712 - Debian - SV - utf8. Must have been a week or so since I last upgraded. With the current install I'm not able to save anything to the favourites.opml file in my music folder. Everything is savd to /var/cache/slimserver/favourites.opml instead. I even deleted the favourites.opml file in my music folder, which resides under /storage/Music/. As before the permissions on the music folder is: drwxr-xr-x 331 stefan stefan 20480 2008-01-09 10:48 Music I'll download release 16048 and see if it makes a difference. /Stefan
Favorites are stored in the playlist folder, which must not be the same as the music folder. If you put that favorites.opml file in your playlist folder, does it work?
Hi, Plalistfolder is the same as music folder. I'll try specify a unique plalistfolder and see if it makes a difference. /Stefan
Uppgraded to 16048. A bit strange instalation when I was told that this installation, since it is now renamed to Squeezecenter was in conflict with Slimserver. If this something that that's going to happen to other users upgrading form slimserver 6.XX to 7.XX I would argue that is a bug. Now I had to uninstall the previouse version and install clean 16048. Please let me know if you wnat me to file this as a seperate bug. Back to favourites issue. I have no a seperate plalist directory under /storage/Music/plalists/ . No file is created there when I save favourites. The file at /var/cache/slimserver/ is changed though. And if all the rest is renamed to Squeezecenter, why not change the cache foler as well? Please let me know if there is anything else you would like to know or me to test. br Stefan
> if you wnat me to file this as a seperate bug. Yes, please do so. > Back to favourites issue. I have no a seperate plalist directory under > /storage/Music/plalists/ . No file is created there when I save favourites. The > file at /var/cache/slimserver/ is changed though. And if all the rest is > renamed to Squeezecenter, why not change the cache foler as well? Hmm... it should. This is probably going in the same direction as the aforementioned conflict. Though we want to keep the existing configuration. Please add this comment to the new bug too. The question here is whether you can use the favorites or not? Do they eventually show up?
Ok I'll post a seperate bug. Yes, the favourites do show up, exactly as stored under /var/cache/slimserver/favourites.opml. I'm just worried that at some point they will dissapear again, just as they did when the server no longer used the favourites file in my playlistfolder. /Stefan
> Ok I'll post a seperate bug. Thanks! > Yes, the favourites do show up, exactly as stored under > /var/cache/slimserver/favourites.opml. Great! > I'm just worried that at some point they will dissapear again, just as they did > when the server no longer used the favourites file in my playlistfolder. Feel free to re-open this bug if it should happen.
This bug is being closed since it was resolved for a version which is now released! Please download the new version of SqueezeCenter (formerly SlimServer) at http://www.slimdevices.com/su_downloads.html If you are still seeing this bug, please re-open it and we will consider it for a future release.