Home of the Squeezebox™ & Transporter® network music players.
Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16
  1. #11
    Senior Member Apesbrain's Avatar
    Join Date
    Jun 2005
    Location
    East Coast, USA
    Posts
    1,685
    Quote Originally Posted by mherger View Post
    >It shouldn't, when you're well in to a track. See the networking tab in
    your browser's dev tools. You should see the exact request the web UI is
    sending to the server.
    When I look at the Networking tab I see nothing obvious in what the browser is sending in response to a press on those buttons.

    However, inspecting the buttons reveals the following:

    Previous: <button type="button" style="padding: 0px; width: 31px;" class=" x-btn-text" id="ext-gen41" title="Previous"></button>
    Next: <button type="button" style="padding: 0px; width: 31px;" class=" x-btn-text" id="ext-gen45" title="Next"></button>

    Any idea on where I would find the definitions of those two "id" items?

  2. #12
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,540

    SqueezeJS.Controller.playerRequest([JSON formattedCLI request])

    > When I look at the Networking tab I see nothing obvious in what the
    > browser is sending in response to a press on those buttons.


    Whenever you press a button you should see a call to /jsonrpc.js. Click
    the entry and more details (parameters, results etc.) should be shown on
    the side.

    > However, inspecting the buttons reveals the following:
    >
    > Previous: <button type="button" style="padding: 0px; width: 31px;"
    > class=" x-btn-text" *id="ext-gen41"* title="Previous"></button>
    > Next: <button type="button" style="padding: 0px; width: 31px;" class="
    > x-btn-text" *id="ext-gen45"* title="Next"></button>
    >
    > Any idea on where I would find the definitions of those two "id" items?


    These IDs are created on the fly by the JS framework being used (extjs).
    There really is no easier way to see the requests than the networking
    traffic as outlined above.

    --

    Michael

  3. #13
    Senior Member Apesbrain's Avatar
    Join Date
    Jun 2005
    Location
    East Coast, USA
    Posts
    1,685
    Got it! Switched from Chrome over to Firefox and found it easier to see the requests being sent:

    ['button', 'jump_rew']
    ['button', 'jump_fwd']

    Thanks.

  4. #14
    Senior Member MillmoorRon's Avatar
    Join Date
    Jul 2006
    Location
    UK
    Posts
    319
    Just been looking at the same thing and found this thread.

    I have two players synchronised but I only want the volume adjusted on one of them.

    Is this possible by this method?

  5. #15
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,540

    SqueezeJS.Controller.playerRequest([JSON formattedCLI request])

    That's a behaviour you can configure in LMS Settings/Player/Syncronization.

    --

    Michael

  6. #16
    Senior Member MillmoorRon's Avatar
    Join Date
    Jul 2006
    Location
    UK
    Posts
    319
    Both players are set to "don't sync player's volume" and it does actually behave as expected.

    It seems it is actually an issue with my Squeeze Commander synchronisation as it showed that the volume on the other player was changing when it was not.

    Material Skin works OK though.

    Thanks!

Posting Permissions

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