summaryrefslogtreecommitdiff
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 {
234 234
235 if($file =~ /\.ogg$/i) { 235 if($file =~ /\.ogg$/i) {
236 $hash = get_oggtag($file); 236 $hash = get_oggtag($file);
237
238 # CRC from 0 until we figure out exactly where the audio data starts!
239 $hash->{FILECRC} = crc32($file, 0);
237 } 240 }
238 else { 241 else {
239 $hash = get_mp3tag($file); 242 $hash = get_mp3tag($file);