jmt-gh / audiobookshelf-sonos

Play your audiobooks from Audiobookshelf on your Sonos speakers
31 stars 5 forks source link

Can't add service unless manifest is unchecked #3

Open jt196 opened 1 year ago

jt196 commented 1 year ago

If I check "Support Manifest File" when I'm adding the audiobookshelf service to the speaker, I can't add the service in the app - it doesn't connect. When I uncheck it, I can add it, but it doesn't see the library.

I only found out this works by accident. The service still doesn't work (can't find any library data), but at least I can add it to the app... Any ideas why @jmt-gh? Is this essential for the functionality of the service?

Here's the logs when I try to connect after unchecking the manifest:

::ffff:192.168.208.1 - - [17/Jul/2023:15:48:28 +0000] "POST /wsdl HTTP/1.1" 200 - "-" "Linux UPnP/1.0 Sonos/57.16-41110 (ACR_:Google:cheetah:Pixel 7 Pro)"
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"  xmlns:tns="http://www.sonos.com/Services/1.1"><soap:Body><getLastUpdateResponse xmlns="http://www.sonos.com/Services/1.1"><getLastUpdateResult><catalog>1689608908265</catalog><autoRefreshEnabled>true</autoRefreshEnabled><favorites>1689608908265</favorites><pollInterval>10</pollInterval></getLastUpdateResult></getLastUpdateResponse></soap:Body></soap:Envelope>
Trying SonosSoap from path 
Attempting to bind to /wsdl
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><credentials xmlns="http://www.sonos.com/Services/1.1"><deviceId>94-9F-3E-07-10-1A:9</deviceId><deviceProvider>Sonos</deviceProvider></credentials></s:Header><s:Body><getLastUpdate xmlns="http://www.sonos.com/Services/1.1"></getLastUpdate></s:Body></s:Envelope>
Handling POST on /wsdl
::ffff:192.168.208.1 - - [17/Jul/2023:15:47:58 +0000] "POST /wsdl HTTP/1.1" 200 - "-" "Linux UPnP/1.0 Sonos/57.16-41110 (ACR_:Google:cheetah:Pixel 7 Pro)"