[Slim-Checkins] r9425 - /trunk/server/Plugins/RssNews.pm

andy at svn.slimdevices.com andy at svn.slimdevices.com
Tue Sep 5 03:28:59 PDT 2006


Author: andy
Date: Tue Sep  5 03:28:57 2006
New Revision: 9425

URL: http://svn.slimdevices.com?rev=9425&view=rev
Log:
Display an error when all RSS feeds failed in screensaver mode

Modified:
    trunk/server/Plugins/RssNews.pm

Modified: trunk/server/Plugins/RssNews.pm
URL: http://svn.slimdevices.com/trunk/server/Plugins/RssNews.pm?rev=9425&r1=9424&r2=9425&view=diff
==============================================================================
--- trunk/server/Plugins/RssNews.pm (original)
+++ trunk/server/Plugins/RssNews.pm Tue Sep  5 03:28:57 2006
@@ -522,6 +522,13 @@
 	
 	if ( $errors == scalar @feeds ) {
 		$::d_plugins && msg("RSS: All feeds failed, giving up\n");
+		
+		if ( $client->param('PLUGIN.RssNews.screensaver_mode') ) {
+			$client->update( {
+				'line1' => $client->string('PLUGIN_RSSNEWS'),
+				'line2' => $client->string('PLUGIN_RSSNEWS_ERROR'),
+			} );
+		}
 	}
 	else {	
 		getNextFeed( $client );



More information about the checkins mailing list