Bugzilla – Bug 1417
Podcast plugin forgets added feed
Last modified: 2008-08-18 10:54:16 UTC
I have added the following feed to the Podcast plugin: http://feeds.feedburner.com/UntouchedBeta Occasionally this feed disappears from the Podcast feed list, and I have to re-enter it. The feed disappears both from the server web interface and from the SB interface. When it disappears from the user interfaces, I have confirmed that it also has been removed from the slimserver.pref file. I found this sequence causing the feed to disappear: 1. Stop slimserver. The feed is present in slimserver.pref after slimserver is stopped. 2. Start slimserver. Feed is still present in slimserver.pref. 3. Go to Server Settings -> Plugins in web interface. The feed has now disappeared. This is reproducible on my system. I am running svn version 3028 on WinXP, and have a SB1. There are no error messages when the feed disappears. I don't know if it is a clue, but the feed contains an accented character in the title: NRK Ur�rt - Ny norsk musikk By the way, when the feed is present on my SB, it works perfectly...
Please try setting Server Settings > Performance > Prefs write interval to 0 before quitting SlimServer. I'm guessing that your prefs aren't getting correctly written. I'm tempted to default this value to 0 anyway, since it's leading to confusion and attempts to solve what I don't perceive as a performance problem.
if the feed is listed in teh prefs file after the server is stopped, I think that should be indicative of a correctly written prefs file (though I do agree that the prefs write interval is confusing, and have set to zero a long time ago for myself) adding a debug line to confirm, looks like revertToDefaults() at line 50 is being executed on startup, even if there are @feedURLPrefs.
aha...think I have it. initPlugin checks against the pref: plugin_podcast_feeds_version, but revertToDefaults sets teh pref: plugin_podcast_version instead. changing line 79 to the following, fixes the problem (after one final reset, of course): Slim::Utils::Prefs::set('plugin_podcast_feeds_version', FEEDS_VERSION);
Created attachment 449 [details] unified diff unified diff of my previous comment.
committed in change 3046. should be fixed now, but will require one final case of reverting to the defaults. reopen if there is further trouble.
This bug was marked resolved in Slimserver 6.1, which is several versions ago. If you're still seeing this bug, please re-open it. Thanks!