*** Slim/Utils/Scanner.pm~	2007-08-16 03:07:05.000000000 +0200
--- Slim/Utils/Scanner.pm	2007-11-14 15:39:05.000000000 +0100
***************
*** 101,106 ****
--- 101,117 ----
  
  =cut
  
+ #### BEGIN: jv
+ sub File::Find::Rule::not_haschild {
+     my $self = shift()->_force_object;
+     my $child = shift;
+     $self->exec( sub {
+ 		     # ( $shortname, $path, $fullname )
+                      ! -e "$_[0]/$child";
+                  } );
+ }
+ #### END: jv
+ 
  sub findFilesMatching {
  	my $class  = shift;
  	my $topDir = shift;
***************
*** 132,137 ****
--- 143,154 ----
  		$rule->maxdepth(0);
  	}
  
+ #### BEGIN: jv
+ 	$rule->or(File::Find::Rule->file,
+ 		  File::Find::Rule->not_haschild(".slimskip"),
+ 		  File::Find::Rule->prune);
+ #### END: jv
+ 
  	# validTypeExtensions returns a qr// regex.
  	$rule->name( Slim::Music::Info::validTypeExtensions($args->{'types'}) );
  
