PDA

View Full Version : [Slim-Checkins] r9824 - in /trunk/server/Slim:Buttons/Playlist.pm Player/Client.pm



Grotus
2006-09-18, 14:56
grotus (AT) svn (DOT) slimdevices.com wrote:
> Author: grotus
> Date: Mon Sep 18 09:02:45 2006
> New Revision: 9824
>
> URL: http://svn.slimdevices.com?rev=9824&view=rev
> Log:
> Bug: a few, can't access bugs.slimdevices.com at work though
> Description:
> Slim::Buttons::Playlist
> Stash a reference to the playlist parameters when we push past the playlist mode. This allows us to change them if the playlist changes.
> Change showingNowPlaying and browseplaylistindex to use the stashed params when appropriate, and to indicate a Now Playing state when no playlist mode is on the stack.
> Slim::Player::Client
> Added modeParams function to return a reference to the current mode's param hash.
> Also added, but haven't used yet a getMode function to return the current client mode. Will probably replace calls to Slim::Buttons::Common::mode with this.
>

Should this be merged into 6.5? I haven't made too significant of a
change with this pass, but at least it doesn't have the potential to
corrupt other mode's listIndex values, like it did before.