Closed paulbastian closed 3 years ago
I've made some changes on dev
, let me know if that works for you.
Not getting any device shown on spotiy connect
2020-11-24 23:14:53,045 INFO Utils:84 - Cryptography restrictions removal not needed.
2020-11-24 23:14:53,175 INFO ZeroconfServer:456 - Zeroconf HTTP server started successfully on port 13575!
2020-11-24 23:14:54,090 TRACE ZeroconfServer:520 - Handling request: GET /?action=getInfo HTTP/1.1, headers: {Keep-Alive=0, Connection=keep-alive, User-Agent=Spotify/114200622 Linux/0 (PC desktop), Host=192.168.2.202, Accept-Encoding=gzip, Content-Type=application/x-www-form-urlencoded}
2020-11-24 23:14:54,682 INFO Zeroconf:473 - Announced Service{alias='librespot-java', service='spotify-connect', port=13575, text={VERSION=1.0, CPath=/, Stack=SP}, addresses=[/192.168.2.202], domain='.local', protocol='tcp', host='pi4'}.
My changes should be completely unrelated to this, does it work if you rollback?
Hey, my apologies, I had wifi off. Works great now, thank you!!
I only noticed one warning, fyi:
2020-11-25 21:02:26,450 WARN DealerClient:352 - Failed handling message: {"headers":{"MC-ETag":"21880147820","Collection-Source-Revision":"21880147820","Collection-Update-Id":"08ebf15f36699480","Content-Type":"text/plain"},"payloads":["{\"items\":[{\"type\":\"track\",\"identifier\":\"4uYtDSwaLvcXiEf92xe58O\",\"unheard\":false,\"addedAt\":1606334545,\"removed\":false}]}"],"type":"message","uri":"hm://collection/collection/1158398333/json"}
java.lang.IllegalArgumentException: Illegal base64 character 7b
at java.util.Base64$Decoder.decode0(Base64.java:791) ~[?:?]
at java.util.Base64$Decoder.decode(Base64.java:567) ~[?:?]
at java.util.Base64$Decoder.decode(Base64.java:590) ~[?:?]
at xyz.gianlu.librespot.common.BytesArrayList.streamBase64(BytesArrayList.java:31) ~[librespot-player-1.5.3-SNAPHOST.jar:1.5.3-SNAPHOST]
at xyz.gianlu.librespot.dealer.DealerClient.handleMessage(DealerClient.java:131) ~[librespot-player-1.5.3-SNAPHOST.jar:1.5.3-SNAPHOST]
at xyz.gianlu.librespot.dealer.DealerClient.access$800(DealerClient.java:32) ~[librespot-player-1.5.3-SNAPHOST.jar:1.5.3-SNAPHOST]
at xyz.gianlu.librespot.dealer.DealerClient$ConnectionHolder$WebSocketListenerImpl.onMessage(DealerClient.java:350) [librespot-player-1.5.3-SNAPHOST.jar:1.5.3-SNAPHOST]
at okhttp3.internal.ws.RealWebSocket.onReadMessage(RealWebSocket.kt:333) [librespot-player-1.5.3-SNAPHOST.jar:1.5.3-SNAPHOST]
at okhttp3.internal.ws.WebSocketReader.readMessageFrame(WebSocketReader.kt:245) [librespot-player-1.5.3-SNAPHOST.jar:1.5.3-SNAPHOST]
at okhttp3.internal.ws.WebSocketReader.processNextFrame(WebSocketReader.kt:106) [librespot-player-1.5.3-SNAPHOST.jar:1.5.3-SNAPHOST]
at okhttp3.internal.ws.RealWebSocket.loopReader(RealWebSocket.kt:293) [librespot-player-1.5.3-SNAPHOST.jar:1.5.3-SNAPHOST]
at okhttp3.internal.ws.RealWebSocket$connect$1.onResponse(RealWebSocket.kt:195) [librespot-player-1.5.3-SNAPHOST.jar:1.5.3-SNAPHOST]
at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:519) [librespot-player-1.5.3-SNAPHOST.jar:1.5.3-SNAPHOST]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]
at java.lang.Thread.run(Thread.java:832) [?:?]
Describe the bug Hello there, first of all thanks forbuilding this awesome project, I was havin trouble with disconnects on the original rust librespot, switching to this version has so far fixed my problems! I'm currently having only one problem: I'm running librespot on a Rpi4 using my living room hifi, therefore persons are sharing the connection. The first person to connect is successfully making a connection via wifi and play music. As soon as some other person tries to connect the speakers, the software is bugged and doesnt let you connect. I tried all sorts of combinations with original device selecting its own audio output again and killing the app. However no success. Thanks for helping!
To Reproduce Run librespot, connect spotify with acc1 from device1, connect spotify from acc2 with device2
Expected behavior Device2 should take over and disconnect Device1.
Screenshots/Stracktraces/Logs The following log is generated:
Version/Commit librespot-player-1.5.2.jar from the releases page