1
0
Fork 0
forked from len0rd/rockbox

Add dummy text if some tags are missing

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5360 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2004-10-26 14:26:37 +00:00
parent 94a5e70b14
commit 4f3b9edd62

View file

@ -129,6 +129,10 @@ sub dodir {
$id3->{'FILE'}="$dir/$f"; # store file name
$$id3{'ARTIST'} = "<no artist tag>" if ($$id3{'ARTIST'} eq "");
$$id3{'ALBUM'} = "<no album tag>" if ($$id3{'ALBUM'} eq "");
$$id3{'TITLE'} = "<no title tag>" if ($$id3{'TITLE'} eq "");
# prepend Artist name to handle duplicate album names from other
# artists
my $albumid = $id3->{'ALBUM'}."___".$id3->{'ARTIST'};