pippin;499129 Wrote:
> Out of curiosity: Do you know how THAT works? I could probably want to
> do something similar with iPeng's volume change (although you probably
> will not be able to change that remotely)
It involves some client logic -- the seq_no (not seq) tag value is sent
back to the client in a SlimProto command (this is from Squeezebox2.pm,
which is used for SqueezePlay clients, too):
Code:
--------------------
if (defined($client->sequenceNumber())) {
$data = pack('NNCCNNN', $oldGain, $oldGain, $dvc, $preamp, $newGain,
$newGain, $client->sequenceNumber());
}
else {
$data = pack('NNCCNN', $oldGain, $oldGain, $dvc, $preamp, $newGain, $newGain);
}
$client->sendFrame('audg', \$data);
--------------------
> Well, it makes a lot of sense to me.
The CLI format *00:04:20:01:02:03 mixer volume 50 ipeng:1* worked as
well as I could expect in 7.3 and 7.4 -- in 7.4 I see the tag and can
respect it, but in 7.3 I cannot. I just pushed a new test version of
SyncOptions that refuses to do relative volume sync for any CLI command
with an "ipeng" tag with value "1".
--
peterw
http://www.tux.org/~peterw/
Free plugins: 'AllQuiet'
(http://www.tux.org/~peterw/slim/AllQuiet.html) 'Auto Dim/AutoDisplay'
(http://www.tux.org/~peterw/slim/AutoDisplay.html) 'BlankSaver'
(http://www.tux.org/~peterw/slim/BlankSaver.html) 'ContextMenu'
(http://www.tux.org/~peterw/slim/ContextMenu.html) 'FuzzyTime'
(http://www.tux.org/~peterw/slim/FuzzyTime.html)
'KidsPlay' (http://www.tux.org/~peterw/slim/KidsPlay.html)
'KitchenTimer' (http://www.tux.org/~peterw/slim/KitchenTimer.html)
'PlayLog' (http://www.tux.org/~peterw/slim/PlayLog.html)
'PowerCenter/BottleRocket'
(http://www.tux.org/~peterw/slim/PowerCenter.html) 'SaverSwitcher'
(http://www.tux.org/~peterw/slim/SaverSwitcher.html)
'SettingsManager'
(http://www.tux.org/~peterw/slim/SettingsManager.html) 'SleepFade'
(http://www.tux.org/~peterw/slim/SleepFade.html) 'StatusFirst'
(http://www.tux.org/~peterw/slim/StatusFirst.html) 'SyncOptions'
(http://www.tux.org/~peterw/slim/SyncOptions.html) 'VolumeLock'
(http://www.tux.org/~peterw/slim/VolumeLock.html)
------------------------------------------------------------------------
peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107
View this thread: http://forums.slimdevices.com/showthread.php?t=70903
_______________________________________________
Radio mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/radio