[Slim-Checkins] r33919 - in /7.8/trunk/server: Changelog7.html Slim/Player/Player.pm

[email protected] Wed, 28 Mar 2012 09:24:09 -0000
Newsgroups gmane.music.equipment.slimdevices.cvs
Message-ID <[email protected]>
Author: ayoung
Date: Wed Mar 28 02:24:09 2012
New Revision: 33919

URL: http://svn.slimdevices.com/slim?rev=33919&view=rev
Log:
Fixed bug 17937: Now Playing information can alternate between station and current-track titles at track skip 

Send an empty string as  the track title to jive in buffering messages. The player will not update the title in this case.

Modified:
    7.8/trunk/server/Changelog7.html
    7.8/trunk/server/Slim/Player/Player.pm

Modified: 7.8/trunk/server/Changelog7.html
URL: http://svn.slimdevices.com/slim/7.8/trunk/server/Changelog7.html?rev=33919&r1=33918&r2=33919&view=diff
==============================================================================
--- 7.8/trunk/server/Changelog7.html (original)
+++ 7.8/trunk/server/Changelog7.html Wed Mar 28 02:24:09 2012
@@ -15,6 +15,7 @@
 		<li><a href="http://bugs.slimdevices.com/show_bug.cgi?id=17729">#17729</a> - On Linux SBS 7.4.1 and above: service cannot be stopped or restarted after an 'internal' restart</li>
 		<li><a href="http://bugs.slimdevices.com/show_bug.cgi?id=17758">#17758</a> - Pop up symbols linger too long on the screen</li>
 		<li><a href="http://bugs.slimdevices.com/show_bug.cgi?id=17933">#17933</a> - Failure to parse m3u playlists with relative paths</li>
+		<li><a href="http://bugs.slimdevices.com/show_bug.cgi?id=17937">#17937</a> - Now Playing information can alternate between station and current-track titles at track skip</li>
 	</ul>
 	<br />
 </ul>

Modified: 7.8/trunk/server/Slim/Player/Player.pm
URL: http://svn.slimdevices.com/slim/7.8/trunk/server/Slim/Player/Player.pm?rev=33919&r1=33918&r2=33919&view=diff
==============================================================================
--- 7.8/trunk/server/Slim/Player/Player.pm (original)
+++ 7.8/trunk/server/Slim/Player/Player.pm Wed Mar 28 02:24:09 2012
@@ -1235,7 +1235,8 @@
 			$client->display->updateMode(0);
 			$client->showBriefly({
 				$screen => { line => [ $line1, $line2 ] },
-				jive => { type => 'song', text => [ $status, $args->{'title'} ], duration => 500 },
+				# Bug 17937: leave the title alone (empty string is noticed in SP) for these sorts of message
+				jive => { type => 'song', text => [ $status, ''], duration => 500 },
 				cli  => undef,
 			}, { duration => 1, block => 1 });
 		}