Index: Slim/Buttons/Playlist.pm =================================================================== --- Slim/Buttons/Playlist.pm (revision 9052) +++ Slim/Buttons/Playlist.pm (working copy) @@ -389,7 +389,11 @@ } # update list length for the knob. ### HACK ATTACK ### - $client->param('listLen', Slim::Player::Playlist::count($client)); + if (Slim::Buttons::Common::mode($client) eq 'playlist') { + $client->param('listLen', Slim::Player::Playlist::count($client)); + } else { + $playlistindex = undef; + } # get (and optionally set) the browseplaylistindex parameter that's kept in param stack return $client->param('listIndex', $playlistindex);