1 package ID3FS::PathElement::Album;
9 my $class=ref($proto) || $proto;
15 $self->{id}=($self->{db}->lookup_id("albums", $self->{name}));
16 return(undef) unless(defined($self->{id}));
20 sub type { return "album"; }
21 sub id { return shift->{id}; }