Announcement

Collapse
No announcement yet.

Line in on Boom

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Line in on Boom


    #2
    There is not plugin function for this, though you can use the plugin PlayerSendCLICommand command in HS3 (see plugin doc) to send the Squeezebox CLI command for the Boom if any to switch the input line (not sure what that CLI command is)

    Comment


      #3
      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
      but I haven't tried this myself and I don't know what the command is to turn it off. It may automatically turn off if you start playing a regular source.

      Cheers
      Al
      HS 4.2.8.0: 2134 Devices 1252 Events
      Z-Wave 3.0.10.0: 133 Nodes on one Z-Net

      Comment


        #4
        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


          #5
          Thank you, the script worked.

          Comment

          Working...
          X