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:
parent
94a5e70b14
commit
4f3b9edd62
1 changed files with 4 additions and 0 deletions
|
@ -129,6 +129,10 @@ sub dodir {
|
||||||
|
|
||||||
$id3->{'FILE'}="$dir/$f"; # store file name
|
$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
|
# prepend Artist name to handle duplicate album names from other
|
||||||
# artists
|
# artists
|
||||||
my $albumid = $id3->{'ALBUM'}."___".$id3->{'ARTIST'};
|
my $albumid = $id3->{'ALBUM'}."___".$id3->{'ARTIST'};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue