Announcement

Collapse
No announcement yet.

LMS 8.4.0 players on other servers

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

    LMS 8.4.0 players on other servers

    I'm no longer seeing players on other LMSs on my LAN in the webUI players drop-down list. Has this feature gone away? Have I forgotten how to enable it? I've got the firewalls disabled on the two LMS boxes I've got running and neither of them are "seeing" each other's players.

    #2
    ...and I can no longer change the music source between the two servers using the Transporter's UI. Only way to switch servers seems to be to force a clean setup on the transporter with a power button press & long hold.

    Comment


      #3
      Interestingly, if I switch the branch of either of the LMSs to public/8.3, then the "players on other servers" are visible in both LMSs.

      Comment


        #4
        I am not seeing the same issue. I just started up LMS 8.4 on Windows 10 and I can see the players connected to LMS 8.4 on my Pi server.
        Living Room: Touch or Squeezelite (Pi3B) > Topping E30 > Audiolab 8000A > Monitor Audio S5 + BK200-XLS DF
        Bedroom: Radio
        Bathroom: Radio

        Comment


          #5
          The two LMS boxes I'm running are Ubuntu headless servers, running 20.04 & 22.04. I'm running LMS directly from a clone of the git repo, so this might have been something involving a very recent commit to public/8.4.

          Comment


            #6
            OK, two LMS boxes, A & B. With A running public/8.4 and B running public/8.3, here's a serverstatus json query on A:

            Code:
            JSONSTR="{\"id\":1,\"method\":\"slim.request\",\"params\":[\"\",[\"serverstatus\", 0, 999]]}"
            curl --silent -H "Content-Type: application/json" -X POST -d "$JSONSTR" http://localhost:9000/jsonrpc.js | jq
            And the result:
            Code:
            {
            "params": [
            "",
            [
            "serverstatus",
            "0",
            "999"
            ]
            ],
            "id": "1",
            "result": {
            "players_loop": [
            {
            "model": "transporter",
            "seq_no": 0,
            "canpoweroff": 1,
            "name": "Transporter2",
            "firmware": 87,
            "isplaying": 0,
            "playerindex": "0",
            "modelname": "Transporter",
            "ip": "192.168.0.201:41225",
            "power": 0,
            "isplayer": 1,
            "uuid": null,
            "displaytype": "graphic-320x32",
            "connected": 1,
            "playerid": "00:04:20:10:17:f5"
            }
            ],
            "info total songs": 96690,
            "other player count": 1,
            "player count": 1,
            "lastscan": "1678761667",
            "info total artists": 1045,
            "sn player count": 0,
            "info total genres": 30,
            "mac": "1c:69:7a:08:50:22",
            "uuid": "3133a822-2ce4-4ceb-a296-99f2fb6ae0f2",
            "ip": "192.168.0.111",
            "version": "8.4.0",
            "other_players_loop": [
            {
            "model": "squeezelite",
            "serverurl": "http://192.168.0.112:9000/",
            "server": "squeezenas-micro",
            "name": "Gordon_SqueezeLite",
            "playerid": "00:ce:39:d1:23:3c"
            }
            ],
            "info total albums": 5033,
            "info total duration": 32217394.2533336,
            "httpport": "9000"
            },
            "method": "slim.request"
            }
            ​
            Now, after switching server B to public/8.4 and restarting LMS on A, the same query yields:
            Code:
            {
              "method": "slim.request",
              "id": "1",
              "result": {
                "ip": "192.168.0.111",
                "info total artists": 1045,
                "other player count": 0,
                "info total duration": 32217394.2533336,
                "httpport": "9000",
                "info total genres": 30,
                "mac": "1c:69:7a:08:50:22",
                "version": "8.4.0",
                "uuid": "3133a822-2ce4-4ceb-a296-99f2fb6ae0f2",
                "sn player count": 0,
                "lastscan": "1678761667",
                "info total songs": 96690,
                "info total albums": 5033,
                "player count": 1,
                "players_loop": [
                  {
                    "uuid": null,
                    "modelname": "Transporter",
                    "name": "Transporter2",
                    "canpoweroff": 1,
                    "playerindex": "0",
                    "ip": "192.168.0.201:41227",
                    "playerid": "00:04:20:10:17:f5",
                    "connected": 1,
                    "model": "transporter",
                    "power": 0,
                    "firmware": 87,
                    "displaytype": "graphic-320x32",
                    "seq_no": 0,
                    "isplaying": 0,
                    "isplayer": 1
                  }
                ]
              },
              "params": [
                "",
                [
                  "serverstatus",
                  "0",
                  "999"
                ]
              ]
            }
            ​
            When both servers are running 8.4, its as though neither server does a discovery of other servers or never requests the players list. That, or the servers aren't responding to the requests.

            Anyone have an idea as to what I should be setting the LMS logging to in order to debug this and figure out what's going on?

            Comment

            Working...
            X