Another broken link.

Albums -> Artist was completely nonsense. fixed.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6335 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michiel Van Der Kolk 2005-04-23 15:38:43 +00:00
parent cec134f409
commit 7aa75e1dc0

View file

@ -407,11 +407,12 @@ if ($db) {
my $str = $t."\x00" x ($maxalbumlen - length($t));
print DB $str;
my $aoffset = $artistcount{$moo[0]} * $artistentrysize;
dumpint($aoffset + $artistindex); # pointer to artist of this album
my @songlist = keys %{$album2songs{$albumid}};
my $id3 = $album2songs{$albumid}{$songlist[0]};
my $aoffset = $artistcount{$id3->{'ARTIST'}} * $artistentrysize;
dumpint($aoffset + $artistindex); # pointer to artist of this album
if (defined $id3->{'TRACKNUM'}) {
@songlist = sort {
$album2songs{$albumid}{$a}->{'TRACKNUM'} <=>