From: Ian Beckwith Date: Mon, 18 Oct 2010 14:56:49 +0000 (+0100) Subject: add audiotype/ tags; reenable filters X-Git-Tag: debian/1.0-1~55 X-Git-Url: http://erislabs.net/gitweb/?p=id3fs.git;a=commitdiff_plain;h=3cfb86272c06fe583e4eea36c27a5383115ff4c3 add audiotype/ tags; reenable filters --- diff --git a/lib/ID3FS/DB.pm b/lib/ID3FS/DB.pm index 6b3cd99..14f55c5 100644 --- a/lib/ID3FS/DB.pm +++ b/lib/ID3FS/DB.pm @@ -265,6 +265,11 @@ sub add { $self->add_tag($file_id, "haspic", undef); } + + if($self->ok($audiotype)) + { + $self->add_tag($file_id, "audiotype", $audiotype); + } } sub add_tag diff --git a/lib/ID3FS/Path.pm b/lib/ID3FS/Path.pm index 01831fc..fca5d95 100644 --- a/lib/ID3FS/Path.pm +++ b/lib/ID3FS/Path.pm @@ -781,8 +781,6 @@ sub constraints_tag_list sub filter { my($self, @dirs)=@_; - # FIXME: disabled - too slow - return @dirs; my $base=$self->{path}; my @outdirs=(); for my $dir (@dirs)