[Slim-Checkins] r10010 - in /trunk/server: Changelog7.html Slim/Buttons/Block.pm

adrian at svn.slimdevices.com adrian at svn.slimdevices.com
Sun Sep 24 03:55:42 PDT 2006


Author: adrian
Date: Sun Sep 24 03:55:39 2006
New Revision: 10010

URL: http://svn.slimdevices.com?rev=10010&view=rev
Log:
Bug: 4190
Description: Delay screen updates for block mode for 0.2 sec to give
smooth display transitions if block / unblock occur rapidly.  This
means modes which always call block (e.g. xmlbrowser) get smooth
transitions unless they really need to display the block screen.

Modified:
    trunk/server/Changelog7.html
    trunk/server/Slim/Buttons/Block.pm

Modified: trunk/server/Changelog7.html
URL: http://svn.slimdevices.com/trunk/server/Changelog7.html?rev=10010&r1=10009&r2=10010&view=diff
==============================================================================
--- trunk/server/Changelog7.html (original)
+++ trunk/server/Changelog7.html Sun Sep 24 03:55:39 2006
@@ -63,6 +63,7 @@
 		<li><a href="http://bugs.slimdevices.com/show_bug.cgi?id=4104">#4104</a> - link to FAQ under help shouldn't put ?player=[MACADDY] at end of url</li>
 		<li><a href="http://bugs.slimdevices.com/show_bug.cgi?id=4145">#4145</a> - Display station name instead of album name in overlay text visualizers on transporter second screen</li>
 		<li><a href="http://bugs.slimdevices.com/show_bug.cgi?id=4159">#4159</a> - second screen needs to be blank when prompting for software update on transporter</li>
+		<li><a href="http://bugs.slimdevices.com/show_bug.cgi?id=4190">#4190</a> - xmlbrower transition problem</li>
 	<ul>
 		<li></li>
 

Modified: trunk/server/Slim/Buttons/Block.pm
URL: http://svn.slimdevices.com/trunk/server/Slim/Buttons/Block.pm?rev=10010&r1=10009&r2=10010&view=diff
==============================================================================
--- trunk/server/Slim/Buttons/Block.pm (original)
+++ trunk/server/Slim/Buttons/Block.pm Sun Sep 24 03:55:39 2006
@@ -79,7 +79,8 @@
 
 	# restore previous lines and display screen
 	$client->lines( $client->modeParam('oldLines') );
-	$client->update();
+
+	$client->update() if $client->modeParam('block.updatedscreen');
 }
 
 =head2 block( $client, $line1 )
@@ -109,11 +110,6 @@
 	Slim::Buttons::Common::pushMode($client, 'block');
 
 	$client->modeParam('block.name', $blockName);
-
-	if (ref($parts) eq 'HASH') {
-
-		$client->showBriefly($parts);
-	}
 }
 
 =head2 unblock( $client )
@@ -141,6 +137,8 @@
 	my $parts = $bdata->{'parts'};
 	my $screen1;
 
+	$client->modeParam('block.updatedscreen', 1);
+	
 	if ($bdata->{'static'}) {
 
 		return $parts



More information about the checkins mailing list