summaryrefslogtreecommitdiff
path: root/tools/songdb.pl
diff options
context:
space:
mode:
Diffstat (limited to 'tools/songdb.pl')
-rwxr-xr-xtools/songdb.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/songdb.pl b/tools/songdb.pl
index fb0118d7e4..d4b3989e01 100755
--- a/tools/songdb.pl
+++ b/tools/songdb.pl
@@ -129,6 +129,10 @@ sub dodir {
129 129
130 $id3->{'FILE'}="$dir/$f"; # store file name 130 $id3->{'FILE'}="$dir/$f"; # store file name
131 131
132 $$id3{'ARTIST'} = "<no artist tag>" if ($$id3{'ARTIST'} eq "");
133 $$id3{'ALBUM'} = "<no album tag>" if ($$id3{'ALBUM'} eq "");
134 $$id3{'TITLE'} = "<no title tag>" if ($$id3{'TITLE'} eq "");
135
132 # prepend Artist name to handle duplicate album names from other 136 # prepend Artist name to handle duplicate album names from other
133 # artists 137 # artists
134 my $albumid = $id3->{'ALBUM'}."___".$id3->{'ARTIST'}; 138 my $albumid = $id3->{'ALBUM'}."___".$id3->{'ARTIST'};