[Slim-Checkins] r33732 - in /7.7/trunk/server: Changelog7.html Slim/Plugin/MOG/ProtocolHandler.pm

[email protected]
Newsgroups gmane.music.equipment.slimdevices.cvs
Message-ID <[email protected]>
Author: mherger
Date: Thu Nov 24 02:13:20 2011
New Revision: 33732

URL: http://svn.slimdevices.com/slim?rev=33732&view=rev
Log:
Fixed Bug: 17650
Description: signal availability of new metadata, or duration might be ignored, leading to the UI not showing the progress bar

Modified:
    7.7/trunk/server/Changelog7.html
    7.7/trunk/server/Slim/Plugin/MOG/ProtocolHandler.pm

Modified: 7.7/trunk/server/Changelog7.html
URL: http://svn.slimdevices.com/slim/7.7/trunk/server/Changelog7.html?rev=33732&r1=33731&r2=33732&view=diff
==============================================================================
--- 7.7/trunk/server/Changelog7.html (original)
+++ 7.7/trunk/server/Changelog7.html Thu Nov 24 02:13:20 2011
@@ -21,6 +21,7 @@
 		<li><a href="http://bugs.slimdevices.com/show_bug.cgi?id=17643">#17643</a> - Displayed playlist not refreshed on repeat with reshuffle</li>
 		<li><a href="http://bugs.slimdevices.com/show_bug.cgi?id=17647">#17647</a> - "Generic OPML Browser" plugin needs to be forced enabled</li>
 		<li><a href="http://bugs.slimdevices.com/show_bug.cgi?id=17644">#17644</a> - Squeezebox database and logfiles fill up OS-partition</li>
+		<li><a href="http://bugs.slimdevices.com/show_bug.cgi?id=17650">#17650</a> - MOG track duration is lost when skipping back and forth</li>
 		<li><a href="http://bugs.slimdevices.com/show_bug.cgi?id=17718">#17718</a> - Searching genres using "browselibrary items mode:genres" does not work</li>
 		<li><a href="http://bugs.slimdevices.com/show_bug.cgi?id=17719">#17719</a> - Now Playing playlist in the web UI doesn't show correct metadata for remote music services</li>
 		<li><a href="http://bugs.slimdevices.com/show_bug.cgi?id=17726">#17726</a> - Windows Control Panel can't authenticate to password protected server</li>

Modified: 7.7/trunk/server/Slim/Plugin/MOG/ProtocolHandler.pm
URL: http://svn.slimdevices.com/slim/7.7/trunk/server/Slim/Plugin/MOG/ProtocolHandler.pm?rev=33732&r1=33731&r2=33732&view=diff
==============================================================================
--- 7.7/trunk/server/Slim/Plugin/MOG/ProtocolHandler.pm (original)
+++ 7.7/trunk/server/Slim/Plugin/MOG/ProtocolHandler.pm Thu Nov 24 02:13:20 2011
@@ -329,6 +329,11 @@
 
 	$cache->set( 'mog_meta_' . $info->{id}, $meta, 86400 );
 
+	# Update the playlist time so the web will refresh, etc
+	$client->currentPlaylistUpdateTime( Time::HiRes::time() );
+	
+	Slim::Control::Request::notifyFromArray( $client, [ 'newmetadata' ] );
+
 	# Async resolve the hostname so gethostbyname in Player::Squeezebox::stream doesn't block
 	# When done, callback will continue on to playback
 	my $dns = Slim::Networking::Async->new;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.