Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 5 of 5
  1. #1

    Controlling LMS via http requests (or otherwise?) for siri shortcuts?

    Hi

    I would like to implement a few Siri shortcuts to control my LMS player (start, stop, pause, change volume, play specific playlist...), and I found the documentation at https://htmlpreview.github.io/?https...s/cli-api.html but I am a little bit lost.

    I managed, via http, to pause the player (following http://tutoriels.domotique-store.fr/...ayer-http.html ) but how can I select the player via http?

    And how can I control it than?

    Any tips on how I can proceed? I would share the shortcuts obviously when they work.

    Thanks,

    Rainer

  2. #2
    Senior Member
    Join Date
    Sep 2005
    Posts
    2,848
    Quote Originally Posted by rkrug View Post
    but how can I select the player via http?
    Code:
    &player=ma:ca:dd:re:ss:xx

  3. #3

    Controlling LMS via httprequests (or otherwise?) for siri shortcuts?

    Thanks.


    > On 23 Apr 2019, at 20:37, DJanGo <DJanGo.8yyy5c (AT) no-mx (DOT) forums.slimdevices.com> wrote:
    >
    >
    > rkrug wrote:
    >> but how can I select the player via http?
    >>

    >
    >
    > Code:
    > --------------------
    > &player=ma:ca:dd:re:ss:xx
    > --------------------
    >
    >
    > ------------------------------------------------------------------------
    > DJanGo's Profile: http://forums.slimdevices.com/member.php?userid=1516
    > View this thread: http://forums.slimdevices.com/showthread.php?t=110491
    >
    >

  4. #4
    Junior Member thouky's Avatar
    Join Date
    Dec 2010
    Location
    Cottenham, England
    Posts
    27

    Siri Squeezebox Control

    Quote Originally Posted by rkrug View Post
    I would like to implement a few Siri shortcuts to control my LMS player (start, stop, pause, change volume, play specific playlist...),
    ...
    I would share the shortcuts obviously when they work.
    Did you get anywhere with this?

    I found Shortcuts too cumbersome to interact with LMS for anything beyond the most basic control, so have used Simon St°vring's Scriptable app (https://scriptable.app/) to allow the use of JavaScript, with just the initial Siri interaction in Shortcuts.

    You can find my effort at:
    https://github.com/thoukydides/siri-squeezebox-control

  5. #5

    Controlling LMS via httprequests (or otherwise?) for siri shortcuts?

    > On 19 Oct 2019, at 19:13, thouky <thouky.986blb (AT) no-mx (DOT) forums.slimdevices.com> wrote:
    >
    >
    > rkrug wrote:
    >> I would like to implement a few Siri shortcuts to control my LMS player
    >> (start, stop, pause, change volume, play specific playlist...),
    >> ...
    >> I would share the shortcuts obviously when they work.
    >>

    >
    > Did you get anywhere with this?



    Did not follow it up - But you seem to have made progress, and I will try it out.
    Thanks a lot,

    Rainer


    >
    > I found Shortcuts too cumbersome to interact with LMS for anything
    > beyond the most basic control, so have used Simon St├Şvring's Scriptable
    > app (https://scriptable.app/) to allow the use of JavaScript, with just
    > the initial Siri interaction in Shortcuts.
    >
    > You can find my effort at:
    > https://github.com/thoukydides/siri-squeezebox-control
    >
    >
    > ------------------------------------------------------------------------
    > thouky's Profile: http://forums.slimdevices.com/member.php?userid=42109
    > View this thread: http://forums.slimdevices.com/showthread.php?t=110491
    >
    >

Tags for this Thread

Posting Permissions

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