Index: server/Slim/Formats/Parse.pm =================================================================== --- server/Slim/Formats/Parse.pm (revision 5482) +++ server/Slim/Formats/Parse.pm (working copy) @@ -601,6 +601,8 @@ push @items, $track->{'URI'}; #url; + $track->{'SIZE'} = $basetrack->audio_size; + # our tracks won't be visible if we don't include some data from the base file for my $attribute (keys %$basetrack) { next if $attribute eq 'id'; @@ -653,7 +655,7 @@ return 0; } - my $byterate = $attributesHash->{'AUDIO_SIZE'} / $attributesHash->{'SECS'}; + my $byterate = $attributesHash->{'SIZE'} / $attributesHash->{'SECS'}; my $header = $attributesHash->{'OFFSET'} || 0; my $startbytes = int($byterate * $start); my $endbytes = int($byterate * $end); @@ -662,7 +664,7 @@ $endbytes -= $endbytes % $attributesHash->{'BLOCKALIGN'} if $attributesHash->{'BLOCKALIGN'}; $attributesHash->{'OFFSET'} = $header + $startbytes; - $attributesHash->{'AUDIO_SIZE'} = $endbytes - $startbytes; + $attributesHash->{'SIZE'} = $endbytes - $startbytes; $attributesHash->{'SECS'} = $duration; if ($::d_parse) {