1
0
Fork 0
forked from len0rd/rockbox

Proper sorting, explanation of the extra field.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7079 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michiel Van Der Kolk 2005-07-08 21:59:00 +00:00
parent c7430a7691
commit 233b782a85

View file

@ -710,14 +710,14 @@ if ($db) {
#### TABLE of file names ### #### TABLE of file names ###
# path1 # path1
for $f (sort keys %entries) { for (sort {uc($a) cmp uc($b)} %entries) {
my $str = $f."\x00" x ($maxfilelen- length($f)); my $str = $f."\x00" x ($maxfilelen- length($f));
my $id3 = $entries{$f}; my $id3 = $entries{$f};
print DB $str; print DB $str;
#print STDERR "CRC: ".."\n"; #print STDERR "CRC: ".."\n";
dumpint($id3->{'FILECRC'}); # CRC32 of the song data dumpint($id3->{'FILECRC'}); # CRC32 of the song data
dumpint($id3->{'songoffset'}); # offset to song data dumpint($id3->{'songoffset'}); # offset to song data
dumpint(-1); # what's this for? dumpint(-1); # offset to rundb data. always set to -1. this is updated by rockbox code on the player.
} }
close(DB); close(DB);