Open johnkareoke opened 7 years ago
Seems like you are using snapcast server v0.11, be sure to use the branch snapcast/v0.11 https://github.com/atoomic/snapcast-volume-ui/tree/snapcast/v0.11 or the default one, the default branch is still pointing to 0.10 which is not compliant with the recent changes.
This should solve your problem.
Had exactly the same problem. git clone -b snapcast/v0.11 did the job. Thanks @atoomic (y)
Hello atoomix thank you for your great work ! Unfortunately the latest version does not work with snapcast version v0.12. I think there were made some changes in the JSON Rpc. :-( Snapcast v0.12 has some essential bugfixes I don´t want to miss. (stability, client id....) (I´m getting the same error like above: "No clients connected to server at /root/snapcast-volume-ui/bin/../lib/snapdance.pm line 164." Are you going to develop a new version which is compatible to the new changes in snapcast v0.12 ? This would be much appreciated..... Thanks
Hi @matrix321321 I just performed some tests and looks like the branch v0.11 is working fine for snapcast v0.12 I m going to branch it and make it the default branch to avoid confusion
Feel free to leave a comment if you still notice an issue
Hi @atoomic I switched to branch v0.12 and now it works. Maybe I didn´t change to branch v0.11 correctly... Thank u for the fast answer and your investment!
I'm getting an error "No clients connected to server at /root/snapcast-volume-ui/bin/../lib/snapdance.pm line 164." but I can see (and hear) that these clients are connected.
However when I run {"id":1,"jsonrpc":"2.0","method":"Server.GetStatus"} on telnet port 1705 on the same server I get a valid response that lists all connected clients:
{"id":1,"jsonrpc":"2.0","result":{"server":{"groups":[{"clients":[{"config":{"instance":1,"latency":0,"name":"","volume":{"muted":false,"percent":100}},"connected":true,"host":{"arch":"armv6l","ip":"192.168.0.27","mac":"b8:27:eb:8f:60:d5","name":"zeroclient","os":"Raspbian GNU/Linux 8.0 (jessie)"},"id":"b8:27:eb:8f:60:d5","lastSeen":{"sec":1491514099,"usec":381446},"snapclient":{"name":"Snapclient","protocolVersion":2,"version":"0.11.0"}}],"id":"b49c1cae-60bb-1811-07f8-41d908648316","muted":false,"name":"","stream_id":"default"},{"clients":[{"config":{"instance":1,"latency":0,"name":"","volume":{"muted":false,"percent":100}},"connected":true,"host":{"arch":"i686","ip":"192.168.0.150","mac":"c8:3a:35:dd:a6:28","name":"musicserver","os":"Ubuntu 14.04.5 LTS"},"id":"c8:3a:35:dd:a6:28","lastSeen":{"sec":1491514099,"usec":155261},"snapclient":{"name":"Snapclient","protocolVersion":2,"version":"0.11.0"}}],"id":"ad752043-987b-58f1-46c0-336f91f93b41","muted":false,"name":"","stream_id":"default"},{"clients":[{"config":{"instance":1,"latency":0,"name":"","volume":{"muted":false,"percent":100}},"connected":true,"host":{"arch":"armv6l","ip":"192.168.0.155","mac":"c8:3a:35:dd:a6:b3","name":"snapclient1","os":"Raspbian GNU/Linux 8.0 (jessie)"},"id":"c8:3a:35:dd:a6:b3","lastSeen":{"sec":1491514099,"usec":81181},"snapclient":{"name":"Snapclient","protocolVersion":2,"version":"0.11.1"}}],"id":"d6714dea-533e-eb8b-128b-d856248c0d5d","muted":false,"name":"","stream_id":"default"}],"server":{"host":{"arch":"i686","ip":"","mac":"","name":"musicserver","os":"Ubuntu 14.04.5 LTS"},"snapserver":{"controlProtocolVersion":1,"name":"Snapserver","protocolVersion":1,"version":"0.11.0"}},"streams":[{"id":"default","status":"playing","uri":{"fragment":"","host":"","path":"/tmp/snapfifo","query":{"buffer_ms":"20","codec":"flac","name":"default","sampleformat":"48000:16:2"},"raw":"pipe:///tmp/snapfifo?name=default","scheme":"pipe"}}]}}}
Any help resolving/debugging this would be much appreciated.