[Slim-Checkins] r9341 - /trunk/server/Slim/Utils/Scanner.pm

andy at svn.slimdevices.com andy at svn.slimdevices.com
Fri Sep 1 08:09:39 PDT 2006


Author: andy
Date: Fri Sep  1 08:09:38 2006
New Revision: 9341

URL: http://svn.slimdevices.com?rev=9341&view=rev
Log:
Pass the client through to scanWMAStream.  SN needs this to support per-client WMA bitrate settings

Modified:
    trunk/server/Slim/Utils/Scanner.pm

Modified: trunk/server/Slim/Utils/Scanner.pm
URL: http://svn.slimdevices.com/trunk/server/Slim/Utils/Scanner.pm?rev=9341&r1=9340&r2=9341&view=diff
==============================================================================
--- trunk/server/Slim/Utils/Scanner.pm (original)
+++ trunk/server/Slim/Utils/Scanner.pm Fri Sep  1 08:09:38 2006
@@ -603,6 +603,7 @@
 		if ( $type eq 'wma' && $url =~ /^(?:http|mms)/ ) {
 			
 			scanWMAStream( {
+				'client'      => $args->{'client'},
 				'url'         => $url,
 				'callback'    => $cb,
 				'passthrough' => $pt,
@@ -808,6 +809,7 @@
 			if ( $item->content_type eq 'wma' && $item->url =~ /^(?:http|mms)/ ) {
 				
 				scanWMAStream( {
+					'client'      => $args->{'client'},
 					'url'         => $item->url,
 					'callback'    => $cb,
 					'passthrough' => $pt,
@@ -1043,6 +1045,7 @@
 	if ( @{$foundItems} ) {
 		$::d_scan && msgf("scanWMA: Trying next stream: %s\n", $foundItems->[0]->url);
 		return scanWMAStream( {
+			'client'      => $args->{'client'},
 			'url'         => $foundItems->[0]->url,
 			'callback'    => $cb,
 			'passthrough' => $pt,



More information about the checkins mailing list