Announcement
Collapse
No announcement yet.
Line in on Boom
Collapse
X
-
As an FYI, you need to enable the Line In plugin in LMS for the Boom to have the ability to control it. Supposedly the cli command to turn it on is
Code:00:04:20:xx:yy:zz setlinein linein
Cheers
AlHS 4.2.8.0: 2134 Devices 1252 Events
Z-Wave 3.0.10.0: 133 Nodes on one Z-Net
Comment
-
The script would be something line though have not tested it. playerInstance needs to be the instance of the Boom player. You can find the instance in the SqueezeBox > Status page.
PHP Code:Sub Main(Parm As Object)
Try
Dim playerInstance As String = "Player_0015833d0a57"
Dim Args(1) As Object
Args(0) = "setlinein linein"
Args(1) = False
hs.PluginFunction("SqueezeBox", playerInstance, "PlayerSendCLICommand", Args)
Catch ex As Exception
hs.WriteLog("SqueezeBox Scripts", "Exception " & ex.ToString)
End Try
End Sub
Comment
Comment