From c7430a7691f9bb79bdecd956b6d2c9b6f9877af9 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 8 Jul 2005 21:25:15 +0000 Subject: for oggs, we do a lame crc from index 0 to make the rundb work better (but this _really_ should crc only the audio data and not the initial meta and tag data) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7078 a1c6a512-1295-4272-9138-f99709370657 --- tools/songdb.pl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools/songdb.pl') 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); -- cgit