From 4f3b9edd62867df30a2ae0dfde6a1bb48a94d081 Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Tue, 26 Oct 2004 14:26:37 +0000 Subject: Add dummy text if some tags are missing git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5360 a1c6a512-1295-4272-9138-f99709370657 --- tools/songdb.pl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tools/songdb.pl') 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 { $id3->{'FILE'}="$dir/$f"; # store file name + $$id3{'ARTIST'} = "" if ($$id3{'ARTIST'} eq ""); + $$id3{'ALBUM'} = "" if ($$id3{'ALBUM'} eq ""); + $$id3{'TITLE'} = "" if ($$id3{'TITLE'} eq ""); + # prepend Artist name to handle duplicate album names from other # artists my $albumid = $id3->{'ALBUM'}."___".$id3->{'ARTIST'}; -- cgit v1.2.3