diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/songdb.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/songdb.pl b/tools/songdb.pl index f4cea8996f..cfa18f221c 100755 --- a/tools/songdb.pl +++ b/tools/songdb.pl | |||
@@ -710,14 +710,14 @@ if ($db) { | |||
710 | #### TABLE of file names ### | 710 | #### TABLE of file names ### |
711 | # path1 | 711 | # path1 |
712 | 712 | ||
713 | for $f (sort keys %entries) { | 713 | for (sort {uc($a) cmp uc($b)} %entries) { |
714 | my $str = $f."\x00" x ($maxfilelen- length($f)); | 714 | my $str = $f."\x00" x ($maxfilelen- length($f)); |
715 | my $id3 = $entries{$f}; | 715 | my $id3 = $entries{$f}; |
716 | print DB $str; | 716 | print DB $str; |
717 | #print STDERR "CRC: ".."\n"; | 717 | #print STDERR "CRC: ".."\n"; |
718 | dumpint($id3->{'FILECRC'}); # CRC32 of the song data | 718 | dumpint($id3->{'FILECRC'}); # CRC32 of the song data |
719 | dumpint($id3->{'songoffset'}); # offset to song data | 719 | dumpint($id3->{'songoffset'}); # offset to song data |
720 | dumpint(-1); # what's this for? | 720 | dumpint(-1); # offset to rundb data. always set to -1. this is updated by rockbox code on the player. |
721 | } | 721 | } |
722 | 722 | ||
723 | close(DB); | 723 | close(DB); |