FutureProofHomes / wyoming-enhancements

Integrate Magical ChatGPT Capabilities With Home Assistant's Wyoming Voice Satellite.
MIT License
94 stars 14 forks source link

Using snapcast as Spotify connect target from app not working #28

Closed freakshock88 closed 5 months ago

freakshock88 commented 5 months ago

Hi,

Thanks for the fantastic writeup. Playing music using ha assist works great for me. However, when I try to use my Spotify app to cast to my snapcast client, it does not work. Does this work for you? I get the following info in my snapcast server addon log:

2024-02-23 09-27-16.329 [Info] (TcpStream) TcpStream host: 0.0.0.0, port: 5079, is server: 1
2024-02-23 09-27-16.329 [Info] (FlacEnc) Init - compression level: 2
2024-02-23 09-27-16.850 [Info] (PcmStream) State changed: MusicAssistant--5079, state: idle => playing
2024-02-23 09-27-16.850 [Info] (Server) onStateChanged (MusicAssistant--5079): playing
2024-02-23 09-27-32.736 [Error] (Server) Server::onMessageReceived JsonRequestException: {"error":{"code":-32603,"data":"Stream not found","message":"Internal error"},"id":750,"jsonrpc":"2.0"}, message: {"id":750,"jsonrpc":"2.0","method":"Group.SetStream","params":{"id":"a6587712-9de7-f197-3eda-8abd3cb4ac52","stream_id":"default"}}
2024-02-23 09-27-32.737 [Info] (Server) Stream.RemoveStream("MusicAssistant--5079")
2024-02-23 09-27-32.737 [Error] (AsioStream) Error during async wait: Operation canceled
2024-02-23 09-27-32.737 [Error] (AsioStream) Error during async wait: Operation canceled
freakshock88 commented 5 months ago

Nevermind, it started working after a restart of the snapcast server addon :)