2018-10-28, 17:24
It looks like this plugin is exactly what I was looking for. Unfortunately I have not successfully been able to get it working.
I have a LMS server on 7.9.1 (initially tried at 7.9.0, upgrade did not make a difference). A squeezebox boom and a picoreplayer are working fine on this LMS install. This pi I am trying to deploy with Kodi and squeezebox for Kodi, actually used to be a picoreplayer working great. I have installed Libreelec fresh and set up kodi to work with my Hifiberry. After that I installed the mediatools from the Libreelec repo. I Then installed the zip file from the original post to add the repo. From the repo I installed Squeezebox for Kodi. After checking some logs and packet captures, it looks like the JSON API call goes wrong somehow.
This is what I see on my LMS server continuously:
Before upgrading LMS, I actually noticed a different request method, even though the request (I checked in the pcaps) is exactly the same:
In the Kodi log it shows:
Looking at the packet captures, I see an API request directly after boot with what I assume is a power on notification from Squeezelite to LMS:
After that, I continuously see the following API request:
Any clues?
I have a LMS server on 7.9.1 (initially tried at 7.9.0, upgrade did not make a difference). A squeezebox boom and a picoreplayer are working fine on this LMS install. This pi I am trying to deploy with Kodi and squeezebox for Kodi, actually used to be a picoreplayer working great. I have installed Libreelec fresh and set up kodi to work with my Hifiberry. After that I installed the mediatools from the Libreelec repo. I Then installed the zip file from the original post to add the repo. From the repo I installed Squeezebox for Kodi. After checking some logs and packet captures, it looks like the JSON API call goes wrong somehow.
This is what I see on my LMS server continuously:
Code:
[18-10-28 16:01:40.6589] Slim::Web::JSONRPC::requestMethod (455) b8:27:eb:46:37:69: request not dispatchable!
Code:
[18-10-28 15:57:39.3551] Slim::Web::JSONRPC::requestMethod (443) b8:27:eb:46:37:69: request not dispatchable!
Code:
16:02:28.040 T:1560458144 WARNING: plugin.audio.squeezebox --> Exception in lmsserver ! --> Server is offline or connection error...
Code:
{"params": ["b8:27:eb:46:37:69", ["power", "1"]], "id": 1, "method": "slim.request"}
Code:
{"params": ["b8:27:eb:46:37:69", ["status", "-", "1", "tags:u"]], "id": 1, "method": "slim.request"}
Any clues?