Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Senior Member
    Join Date
    Oct 2008
    Location
    Huntingdon, UK
    Posts
    585

    ANNOUNCE: Line-In Button Applet for Radio

    I have created a small applet to allow the Squeezebox Radio Line Input to be selected by holding the Home or Sleep buttons on either the device itself, or using the remote.

    Installation:
    Add my repository to the bottom of the Plugins section of the LMS Settings screen
    http://www.koukalaka.me.uk/squeezebox/repo/repo.xml

    On the Radio, go to Settings>Advanced>Applet Installer
    Ensure "Recommended Applets Only" is not checked.
    Select "Line-In Button"
    Restart the radio

    Usage:
    Hold down the Home or Sleep button on the device or remote for a couple of seconds and the Line-In should be selected.

    Enjoy!
    Last edited by indifference_engine; 2021-04-16 at 03:50. Reason: repo moved
    1xRadio, 2xReceiver, 2xController, 1xSB3, 1xSqueezeLite (on Rpi3/Jessie), SBS 7.9.2 (on Rpi3/Jessie)
    Creator of SqueezeIR applet for the Controller.
    Creator of LineInButton applet for the Radio.

  2. #2
    Senior Member
    Join Date
    Apr 2013
    Location
    Zurich, CH
    Posts
    116
    Hi,

    thanks for this applet, exactly what I was looking for! Is there a way to select line-in via ssh or the LMS CLI? I'm trying to switch to an external audio source remotely...

    thanks!

    -Christian
    -----------------------------------------------
    1 x Touch, 2 x Radio, 1 x squeezeAMP, 6 x squeezeESP32, 1 x ESP32-A1S, LMS 8.0.0

  3. #3
    Senior Member
    Join Date
    Oct 2008
    Location
    Huntingdon, UK
    Posts
    585
    Quote Originally Posted by daduke View Post
    Hi,

    thanks for this applet, exactly what I was looking for! Is there a way to select line-in via ssh or the LMS CLI? I'm trying to switch to an external audio source remotely...

    thanks!

    -Christian
    Hi Christian, Unfortunately I don't think so. LMS doesn't seem to know about the Radio's Line-In (unlike the Boom's where there is a plugin to select it). I did try using the CLI and web interface to send various button and ir codes in the hope that they could be picked up by the applet but none worked. I suspect a plugin to trigger the applet may be possible but that's beyond my knowledge. When I connect my Duet Controller to my radio I don't get a Line-In option which is further evidence that the server knows nothing about it.
    1xRadio, 2xReceiver, 2xController, 1xSB3, 1xSqueezeLite (on Rpi3/Jessie), SBS 7.9.2 (on Rpi3/Jessie)
    Creator of SqueezeIR applet for the Controller.
    Creator of LineInButton applet for the Radio.

  4. #4
    Senior Member
    Join Date
    Apr 2013
    Location
    Zurich, CH
    Posts
    116
    ah bummer. I was looking at the applet source in the hope of seeing the one API call I could trigger via ssh directly on the radio, but got lost somewhere between your LUA and the "firmware's" Perl code.. oh well.

    thanks,
    -Christian
    -----------------------------------------------
    1 x Touch, 2 x Radio, 1 x squeezeAMP, 6 x squeezeESP32, 1 x ESP32-A1S, LMS 8.0.0

  5. #5
    Senior Member
    Join Date
    Oct 2008
    Location
    Huntingdon, UK
    Posts
    585
    Quote Originally Posted by daduke View Post
    ah bummer. I was looking at the applet source in the hope of seeing the one API call I could trigger via ssh directly on the radio, but got lost somewhere between your LUA and the "firmware's" Perl code.. oh well.

    thanks,
    -Christian
    My lua is very simple, it just creates a listener for certain button presses and then calls the built-in Line-In applet to do the dirty. I suspect that modifying the default.map file on the server might be possible but I don't like touching server-side stuff like that as I don't know what the consequences would be.
    1xRadio, 2xReceiver, 2xController, 1xSB3, 1xSqueezeLite (on Rpi3/Jessie), SBS 7.9.2 (on Rpi3/Jessie)
    Creator of SqueezeIR applet for the Controller.
    Creator of LineInButton applet for the Radio.

  6. #6
    Senior Member
    Join Date
    Sep 2012
    Posts
    371
    Thanks for this applet. This is what I've been looking for without knowing it.
    //Johan

    Windows 10
    LMS 8.0
    Local Player Plugin (Squeezelite)
    Intel Compute Stick

  7. #7
    Junior Member
    Join Date
    Aug 2011
    Posts
    22
    Does anybody happen to have saved this applet?
    The repo is no longer online.

  8. #8
    Junior Member
    Join Date
    Aug 2011
    Posts
    22
    Quote Originally Posted by Cadster View Post
    Does anybody happen to have saved this applet?
    The repo is no longer online.
    Found it in my not so tidy archive.
    Attached Files Attached Files
    Last edited by Cadster; 2021-04-16 at 00:28. Reason: typo

  9. #9
    Senior Member
    Join Date
    Oct 2008
    Location
    Huntingdon, UK
    Posts
    585
    Quote Originally Posted by Cadster View Post
    Does anybody happen to have saved this applet?
    The repo is no longer online.
    Oops, my fault! The repo has moved to http://www.koukalaka.me.uk/squeezebox/repo/repo.xml
    I shall update the first post to reflect this.
    1xRadio, 2xReceiver, 2xController, 1xSB3, 1xSqueezeLite (on Rpi3/Jessie), SBS 7.9.2 (on Rpi3/Jessie)
    Creator of SqueezeIR applet for the Controller.
    Creator of LineInButton applet for the Radio.

  10. #10
    Junior Member
    Join Date
    Aug 2011
    Posts
    22
    Quote Originally Posted by indifference_engine View Post
    Oops, my fault! The repo has moved to http://www.koukalaka.me.uk/squeezebox/repo/repo.xml
    I shall update the first post to reflect this.
    Thanks for the update, however the link does not work for me.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •