Re: Announce: Applet/Plugin for remote administration of SqueezePlay
schmurtz <schmurtz.a7bmfb-NUepA2SMhDQqspMVqqL2D+4xXEVPTSb/[email protected]>
| Newsgroups | gmane.music.equipment.slimdevices.devel |
|---|---|
| Organization | Logitech Squeezebox Forums |
| Message-ID | <[email protected]> |
Hi, very interesting applet :)
I have an idea :
On the Squeeezebox Radio 'this is not possible'
(https://forums.slimdevices.com/showthread.php?100212-Turn-on-Line-in-via-CLI-interface&fbclid=IwAR0scW-73UO3RGGIiZk7S_0QDerUZOhObpNiMrEiZZle8-T38C253MdJwJo)
to switch to "line-in" remotely (by CLI, SSH or else).
But an applet can make that : the native "LineInApplet.lua" and 'this
one'
(https://forums.slimdevices.com/showthread.php?109870-ANNOUNCE-Line-In-Button-Applet-for-Radio&fbclid=IwAR3VNFaOjOhlBu_DNLX-hmjGwgmVGVwLpNRC-OAk3o7QrXKZeMifuiotut0)
which call the native one by a button combination.
'I tried my own modification of the native applet'
(https://forums.slimdevices.com/showthread.php?115059-Squeezebox-Radio-Switching-to-Line-in-remotely&p=1031822#post1031822)
but your solution is probably what I need. I will not refuse some help
to be able to run the function
appletManager:getAppletInstance("LineIn")
The idea is to run something similar to this :
Code:
--------------------
local LineInAppletInstance = appletManager:getAppletInstance("LineIn")
log:debug("Line-In activated.")
LineInAppletInstance:activateLineIn(true)
--------------------
Thank you !
------------------------------------------------------------------------
schmurtz's Profile: http://forums.slimdevices.com/member.php?userid=57368
View this thread: http://forums.slimdevices.com/showthread.php?t=77494