Bug 3894 - Volume button not picking up current volume
: Volume button not picking up current volume
Status: RESOLVED FIXED
Product: SB Transporter
Classification: Unclassified
Component: SB Server
: unspecified
: PC Windows XP
: P2 normal (vote)
: ---
Assigned To: Richard Titmuss
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-08-09 05:41 UTC by Felix Mueller
Modified: 2006-10-11 14:21 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Mueller 2006-08-09 05:41:38 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).
Comment 1 Adrian Smith 2006-08-17 17:10:18 UTC
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?
Comment 2 KDF 2006-08-17 18:05:16 UTC
'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.
Comment 3 KDF 2006-08-17 19:47:00 UTC
should be working now at change 9032