NFLnut;359273 Wrote:
> I have a problem though when I use ContextMenu to MUTE. If I have Moose
> running, it immediately returns to the original volume (basically, it
> unMUTES MUTE). If I shut down Moose, then the MUTE (via ContextMenu)
> holds. Is there anything I can do to stop this and still run Moose?
Dr. L, for what it's worth, here's the Perl code that ContextMenu is
running in that situation -- essentially it's emulating a button press
with the 'button' command, bypassing the 'ir' command that maps a
hardware IR code to a button name when using an IR remote or
Boom/Transporter/Receiver button:
Code:
--------------------
Slim::Control::Request::executeRequest($client, ['button', 'muting',
$client->lastirtime() + $Slim::Hardware::IR::IRMINTIME + 0.01 ], undef, undef);
--------------------
And here's the forum thread where we discussed how to use ContextMenu
for muting: http://forums.slimdevices.com/showthread.php?t=54770
-Peter
--
peterw
http://www.tux.org/~peterw/
free plugins: http://www.tux.org/~peterw/#slim
AllQuiet BlankSaver ContextMenu FuzzyTime
KitchenTimer PlayLog PowerCenter/BottleRocket SaverSwitcher
SettingsManager SleepFade StatusFirst SyncOptions VolumeLock
------------------------------------------------------------------------
peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107
View this thread: http://forums.slimdevices.com/showthread.php?t=53834
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins