summaryrefslogtreecommitdiffstats
path: root/tools/songdb.pl
diff options
context:
space:
mode:
Diffstat (limited to 'tools/songdb.pl')
-rwxr-xr-xtools/songdb.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/songdb.pl b/tools/songdb.pl
index 589267b632..f4cea8996f 100755
--- a/tools/songdb.pl
+++ b/tools/songdb.pl
@@ -234,6 +234,9 @@ sub singlefile {
if($file =~ /\.ogg$/i) {
$hash = get_oggtag($file);
+
+ # CRC from 0 until we figure out exactly where the audio data starts!
+ $hash->{FILECRC} = crc32($file, 0);
}
else {
$hash = get_mp3tag($file);