Skip to content
Permalink
Browse files

fix filters on absence of many artists/albums/labels/genres

  • Loading branch information
squentin committed Mar 21, 2011
1 parent ded7437 commit 743b7436c036900b67b53744bb5b5279180f3509
Showing with 1 addition and 1 deletion.
  1. +1 −1 gmusicbrowser.pl
@@ -8177,7 +8177,7 @@ sub makesub
{ $code=($inv ? '!':'').'exists $hashes['.$#hashes.']{$Songs[$_]['.$col.']}'; }
elsif ($cmd eq 'f' || $cmd eq '~')
{ my $sep=($cmd eq '~')? '$::re_artist' : '\x00';
$code='do { my $r;exists($hashes['.$#hashes.']{$_}) and $r=1 and last for split /'.$sep.'/,$Songs[$_]['.$col.'];'.$inv.'$r;}';
$code='do { my $r;exists($hashes['.$#hashes.']{$_}) and $r=1 and last for split /'.$sep.'/,$Songs[$_]['.$col.'];'.($inv ? '!':'').'$r;}';
}
$filter[$first]=$col.'c'.$code;
}

0 comments on commit 743b743

Please sign in to comment.
You can’t perform that action at this time.