Bugzilla – Bug 3894
Volume button not picking up current volume
Last modified: 2006-10-11 14:21:36 UTC
If I set the volume by remote to let's say 20 and then press the 'Volume' button on TP it shows a different volume and turning the knob then changes volume from this level. Turning the knob in 'Volume' mode sometimes jumps to the maximum and sometimes the knob is blocked allowing only a range of possible volumes (i.e. 0-12).
Reason this doesn't work is that Input.Bar mode does not reset itself to the relavent value each time the mode is entered. There is a param set in Slim::Buttons::Volume called 'initialValue' which should be used at each setMode, but Input.Bar doesn't seem to look at this... kdf - how to best add this to Input.Bar?
'initialValue' is a bit of a hack. It was put into the Settings module, then used by the exitHandler. INPUT.Choice then ended up using this as a standard entry param which now confuses things becuase the same param name has slightly differing purposes. valueRef should work. If you point valueRef at the current volume ($client->volume?) that should do it.
should be working now at change 9032