--- Queries.pm 2008-05-02 15:49:49.000000000 +0200 +++ Queries.pm.new 2008-05-02 15:42:07.000000000 +0200 @@ -417,7 +417,9 @@ $tags =~ /w/ && $request->addResultLoopIfValueDefined($loopname, $chunkCount, 'compilation', $eachitem->compilation); if ($tags =~ /a/) { my @artists = $eachitem->artists(); - $request->addResultLoopIfValueDefined($loopname, $chunkCount, 'artist', $artists[0]->name()); + if (defined($artists[0])) { + $request->addResultLoopIfValueDefined($loopname, $chunkCount, 'artist', $artists[0]->name()); + } } }