summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-07-08 21:25:15 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-07-08 21:25:15 +0000
commitc7430a7691f9bb79bdecd956b6d2c9b6f9877af9 (patch)
treea3ccba3161ed8fe5a3c4ef018fecf17286161042 /tools
parentc4b31b0ddfb38921fa8c7eacfdf78bcce25ca8b8 (diff)
downloadrockbox-c7430a7691f9bb79bdecd956b6d2c9b6f9877af9.tar.gz
rockbox-c7430a7691f9bb79bdecd956b6d2c9b6f9877af9.tar.bz2
rockbox-c7430a7691f9bb79bdecd956b6d2c9b6f9877af9.zip
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
Diffstat (limited to 'tools')
-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);