Coder Social home page Coder Social logo

audiobookshelf-sonos's People

Contributors

jmt-gh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

audiobookshelf-sonos's Issues

Accept Donations?

This is the "killer app" for me—literally my number one wish for my home media/self-hosting setup is to be able to play my audiobooks on Sonos. Can I donate to development?

Can't add service unless manifest is unchecked

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)"

SSL Error

Hello,

I am not able to get a valid SSL connection. I always get the following error:

curl https://audiosonos.xxxxxx.net -vvv
*   Trying 192.168.1.9:443...
* TCP_NODELAY set
* Connected to audiosonos.xxxxxxxx.net (192.168.1.9) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: /etc/ssl/certs
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS alert, unrecognized name (624):
* error:14094458:SSL routines:ssl3_read_bytes:tlsv1 unrecognized name
* Closing connection 0
curl: (35) error:14094458:SSL routines:ssl3_read_bytes:tlsv1 unrecognized name

In Chrome the error is ERR_HTTP2_PROTOCOL_ERROR
I can access all my other URLs behind my reverse proxy but not this one. Any ideas on how to fix this issue? Is there a URL rewrite hidden in the code to a hardcoded URL?

The direct connection to the service is working:

curl http://192.168.1.24:8081/manifest
{"schemaVersion":"1.0","endpoints":[{"type":"reporting","uri":"https://audiosonos.xxxxxxxx.net/playback/v2.1/report"}]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.