diff options
| -rwxr-xr-x | tools/songdb.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/songdb.pl b/tools/songdb.pl index fb0118d..d4b3989 100755 --- a/tools/songdb.pl +++ b/tools/songdb.pl @@ -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'}; |