Index: /Users/mh/Documents/workspace/7.3/server/Slim/Player/Player.pm =================================================================== --- /Users/mh/Documents/workspace/7.3/server/Slim/Player/Player.pm (revision 23837) +++ /Users/mh/Documents/workspace/7.3/server/Slim/Player/Player.pm (working copy) @@ -552,6 +552,34 @@ } my $song = Slim::Player::Playlist::song($client); + + my $imgKey; + my $artwork; + + if (Slim::Music::Info::isRemoteURL($song->url)) { + + my $handler = Slim::Player::ProtocolHandlers->handlerForURL($song->url); + + if ( $handler && $handler->can('getMetadataFor') ) { + + my $meta = $handler->getMetadataFor( $client, $song->url ); + + if ($meta->{cover}) { + + $imgKey = 'icon'; + $artwork = $meta->{cover}; + + } elsif ($meta->{icon}) { + + $imgKey = 'icon-id'; + $artwork = $meta->{icon}; + } + + Slim::Music::Info::setRemoteMetadata( $song->url, $meta ); + + } + } + my $currentTitle = Slim::Music::Info::getCurrentTitle($client, $song->url); $lines[1] = $currentTitle; @@ -588,29 +616,7 @@ 'text' => [ $status, $song->title ], }; - my $imgKey; - my $artwork; - - #if ( $song->isRemoteURL ) { - if ( $retrieveMetadata && $song->isRemoteURL ) { - - my $handler = Slim::Player::ProtocolHandlers->handlerForURL($song->url); - - if ( $handler && $handler->can('getMetadataFor') ) { - - my $meta = $handler->getMetadataFor( $client, $song->url ); - - if ($meta->{cover}) { - - $imgKey = 'icon'; - $artwork = $meta->{cover}; - - } elsif ($meta->{icon}) { - - $imgKey = 'icon-id'; - $artwork = $meta->{icon}; - } - } + if ( $song->isRemoteURL ) { if (!$artwork) { $imgKey = 'icon-id';