[Slim-Checkins] r10223 - /branches/6.5/server/Slim/Utils/Scanner.pm

andy at svn.slimdevices.com andy at svn.slimdevices.com
Thu Oct 5 14:11:50 PDT 2006


Author: andy
Date: Thu Oct  5 14:11:49 2006
New Revision: 10223

URL: http://svn.slimdevices.com?rev=10223&view=rev
Log:
Merge a fix from SN

Modified:
    branches/6.5/server/Slim/Utils/Scanner.pm

Modified: branches/6.5/server/Slim/Utils/Scanner.pm
URL: http://svn.slimdevices.com/branches/6.5/server/Slim/Utils/Scanner.pm?rev=10223&r1=10222&r2=10223&view=diff
==============================================================================
--- branches/6.5/server/Slim/Utils/Scanner.pm (original)
+++ branches/6.5/server/Slim/Utils/Scanner.pm Thu Oct  5 14:11:49 2006
@@ -857,7 +857,7 @@
 	
 	$toScan ||= [];
 	
-	push @{$toScan}, map { $_->url } @{$foundItems};
+	push @{$toScan}, map { $_->url } grep { blessed($_) } @{$foundItems};
 	
 	# This counter makes sure we don't go into an infinite loop
 	$args->{'loopCount'} ||= 0;



More information about the checkins mailing list