[Slim-Checkins] r33983 - /7.7/trunk/server/Slim/Player/Squeezebox2.pm

[email protected] Fri, 27 Jul 2012 23:54:21 -0000
Newsgroups gmane.music.equipment.slimdevices.cvs
Message-ID <[email protected]>
Author: agrundman
Date: Fri Jul 27 16:54:21 2012
New Revision: 33983

URL: http://svn.slimdevices.com/slim?rev=33983&view=rev
Log:
Fix MOG AU redirects causing each track to be cut off as the next track is starting

Modified:
    7.7/trunk/server/Slim/Player/Squeezebox2.pm

Modified: 7.7/trunk/server/Slim/Player/Squeezebox2.pm
URL: http://svn.slimdevices.com/slim/7.7/trunk/server/Slim/Player/Squeezebox2.pm?rev=33983&r1=33982&r2=33983&view=diff
==============================================================================
--- 7.7/trunk/server/Slim/Player/Squeezebox2.pm (original)
+++ 7.7/trunk/server/Slim/Player/Squeezebox2.pm Fri Jul 27 16:54:21 2012
@@ -616,7 +616,10 @@
 				# Store the old URL so we can update its bitrate/content-type/etc
 				$redirects->{ $redir } = $url;			
 				
-				$client->stop();
+				# For any track-based services that use redirects (e.g. MOG Australia) this stop will
+				# cause each track to get cut off at the end. It doesn't appear to be necessary but
+				# just in case I'll leave it here commented out. -Andy
+				# $client->stop();
 
 				$controller->song->streamUrl($redir);
 				$client->play({