Index: server/Slim/Formats/Parse.pm =================================================================== --- server/Slim/Formats/Parse.pm (revision 2270) +++ server/Slim/Formats/Parse.pm (working copy) @@ -272,6 +272,17 @@ # calc song ending times from start of next song from end to beginning. my $lastpos = (defined $tracks{$currtrack}->{'END'}) ? $tracks{$currtrack}->{'END'} : $secs; + if (!$lastpos) { + + $ds->updateOrCreate({ + 'url' => $filename, + 'readTags' => 1, + }); + $lastpos = $secs = Slim::Music::Info::info($filename, 'SECS'); + $::d_parse && Slim::Utils::Misc::msg("Couldn't get duration of $filename\n") unless ($lastpos); + + } + for my $key (sort {$b <=> $a} keys %tracks) { my $track = $tracks{$key};