-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Hi @atoomic. I installed snapcast-volume-ui (0.12) and snapserver (0.12). So far so good. I was able to set the volumes with the UI for a short time. But now I can´t figure out to get it work again. I can reach the volume-ui at port 5000, set the volumes but the snapserver does not receive the RPC (nothing comes up at xxx.xxx.xxx:1705 and the volume does not change. When I recall the page the old unchanged values appear again. I tried to restart the whole chain (Snapclients, Snapserver, snapcast volume UI) without success. It is possible for me to set the volumes and mute all my clients with the android app but not with the UI.
I tailed "tail -f /var/log/syslog |grep -e snap" to see what´s going on @snapserver. Then I started ./devel-server
I attached the "log" below do you have any clue what I do wrong ?
user@wohnzimmer:~/snapcast-volume-ui$ ./devel-server
Watching . bin/lib bin/app.psgi for file updates.
HTTP::Server::PSGI: Accepting connections at http://0:5000/[snapdance:11942] core @2018-02-03 19:23:13> looking for get / in /usr/local/share/perl/5.22.1/Dancer2/Core/App.pm l. 36
[snapdance:11942] core @2018-02-03 19:23:13> Entering hook core.app.before_request in (eval 172) l. 1Feb 3 19:23:13 wohnzimmer snapserver[11332]: ControlServer::NewConnection: ::ffff:127.0.0.1
Feb 3 19:23:13 wohnzimmer snapserver[11332]: Exception in ControlSession::reader(): read_until: End of file
[snapdance:11942] core @2018-02-03 19:23:13> Entering hook core.app.after_request in (eval 172) l. 1192.168.1.82 - - [03/Feb/2018:19:23:13 +0100] "GET / HTTP/1.1" 200 6798 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0"
[snapdance:11942] core @2018-02-03 19:23:13> looking for get /img/sep-half.png in /usr/local/share/perl/5.22.1/Dancer2/Core/App.pm l. 36
[snapdance:11942] core @2018-02-03 19:23:13> Entering hook core.error.init in (eval 172) l. 1
[snapdance:11942] core @2018-02-03 19:23:13> Entering hook core.error.before in (eval 172) l. 1
[snapdance:11942] core @2018-02-03 19:23:13> Entering hook core.error.after in (eval 172) l. 1192.168.1.82 - - [03/Feb/2018:19:23:13 +0100] "GET /img/sep-half.png HTTP/1.1" 404 445 "http://192.168.1.176:5000/css/main.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0"
[snapdance:11942] core @2018-02-03 19:23:20> looking for get /api/setsound/badezimmer/25 in /usr/local/share/perl/5.22.1/Dancer2/Core/App.pm l. 36
[snapdance:11942] core @2018-02-03 19:23:20> Entering hook core.app.before_request in (eval 172) l. 1Feb 3 19:23:20 wohnzimmer snapserver[11332]: ControlServer::NewConnection: ::ffff:127.0.0.1
Feb 3 19:23:20 wohnzimmer snapserver[11332]: Session inactive. Removing
Feb 3 19:23:20 wohnzimmer snapserver[11332]: Exception in ControlSession::reader(): read_until: End of file
[snapdance:11942] core @2018-02-03 19:23:20> Entering hook core.app.after_request in (eval 172) l. 1
192.168.1.82 - - [03/Feb/2018:19:23:20 +0100] "GET /api/setsound/badezimmer/25 HTTP/1.1" 200 42 "http://192.168.1.176:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0"
[snapdance:11942] core @2018-02-03 19:23:21> looking for get /api/setsound/badezimmer/62 in /usr/local/share/perl/5.22.1/Dancer2/Core/App.pm l. 36
[snapdance:11942] core @2018-02-03 19:23:21> Entering hook core.app.before_request in (eval 172) l. 1
Feb 3 19:23:21 wohnzimmer snapserver[11332]: ControlServer::NewConnection: ::ffff:127.0.0.1
Feb 3 19:23:21 wohnzimmer snapserver[11332]: Session inactive. Removing
Feb 3 19:23:21 wohnzimmer snapserver[11332]: Exception in ControlSession::reader(): read_until: End of file
[snapdance:11942] core @2018-02-03 19:23:21> Entering hook core.app.after_request in (eval 172) l. 1
192.168.1.82 - - [03/Feb/2018:19:23:21 +0100] "GET /api/setsound/badezimmer/62 HTTP/1.1" 200 42 "http://192.168.1.176:5 000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0"
My Config.yml:
...
snapcast:
demo: 0
server:
host: 'localhost'
port: 1705
rooms:
'[mac address 1]':
color: '#0C0'
name: 'Badezimmer'
'[mac address 2]':
color: '#C00'
name: 'Kueche'
'[mac address 3]':
color: '#00C'
name: 'Schlafzimmer'
'[mac address 4]':
color: '#e5c837'
name: 'Wohnzimmer'
'[mac address 5]':
name: 'PiZero'
'[mac address 6]':
name: 'PiZero1'
ignore:
- '00:00:00:00:00:00'