[Slim-Checkins] r10157 - /trunk/server/Slim/Player/Squeezebox.pm

adrian at svn.slimdevices.com adrian at svn.slimdevices.com
Tue Oct 3 14:09:24 PDT 2006


Author: adrian
Date: Tue Oct  3 14:09:22 2006
New Revision: 10157

URL: http://svn.slimdevices.com?rev=10157&view=rev
Log:
Bug: 4159
Description: there is more than one place where the upgrade screen is
shown - fix bug in both places!

Modified:
    trunk/server/Slim/Player/Squeezebox.pm

Modified: trunk/server/Slim/Player/Squeezebox.pm
URL: http://svn.slimdevices.com/trunk/server/Slim/Player/Squeezebox.pm?rev=10157&r1=10156&r2=10157&view=diff
==============================================================================
--- trunk/server/Slim/Player/Squeezebox.pm (original)
+++ trunk/server/Slim/Player/Squeezebox.pm Tue Oct  3 14:09:22 2006
@@ -424,14 +424,21 @@
 		$client->sendFrame('ureq');
 
 		$client->brightness($client->maxBrightness());
+
+		# turn of visualizers and screen2 display
+		$client->modeParam('visu', [0]);
+		$client->modeParam('screen2active', undef);
 		
 		$client->block( {
-			'line' => [ $client->string('PLAYER_NEEDS_UPGRADE_1'), $client->string('PLAYER_NEEDS_UPGRADE_2') ],
-			'fonts' => { 
-				'graphic-320x32' => 'light',
-				'graphic-280x16' => 'small',
-				'text'           => 2,
-			}
+			'screen1' => {
+				'line' => [ $client->string('PLAYER_NEEDS_UPGRADE_1'), $client->string('PLAYER_NEEDS_UPGRADE_2') ],
+				'fonts' => { 
+					'graphic-320x32' => 'light',
+					'graphic-280x16' => 'small',
+					'text'           => 2,
+				},
+			},
+			'screen2' => {},
 		}, 'upgrade');
 	}
 	



More information about the checkins mailing list