04-07-2021, 06:45 PM
(04-07-2021, 06:14 PM)Tim Curtis Wrote: Volume for the renderers including Spotify is controlled on the sending client i.e., your Smartphone, Tablet etc.
Hmm according to logs, it should works:
Code:
2021-04-07T18:37:48Z DEBUG librespot_core::session] Session[0] strong=3 weak=4
[2021-04-07T18:37:53Z DEBUG librespot_connect::spirc] kMessageTypeVolume "RYZEN" 5488c60814b159d4c05e709efc5b53ba5b719172 765487585 1617820658458 kPlayStatusStop
[2021-04-07T18:37:53Z DEBUG librespot_connect::spirc] input volume:41287 to mixer: 5087
[2021-04-07T18:37:53Z TRACE librespot_connect::spirc] Sending status to server: [kPlayStatusPlay]
[2021-04-07T18:37:53Z DEBUG librespot_playback::player] command=VolumeSet(41287)
[2021-04-07T18:37:53Z INFO librespot::player_event_handler] Running ["/var/local/www/commandw/spotevent.sh"] with environment variables {"VOLUME": "41287", "PLAYER_EVENT": "volume_set"}
[2021-04-07T18:37:54Z DEBUG librespot_connect::spirc] kMessageTypeVolume "RYZEN" 5488c60814b159d4c05e709efc5b53ba5b719172 765487883 1617820673810 kPlayStatusStop
[2021-04-07T18:37:54Z DEBUG librespot_connect::spirc] input volume:32767 to mixer: 2072
[2021-04-07T18:37:54Z TRACE librespot_connect::spirc] Sending status to server: [kPlayStatusPlay]
[2021-04-07T18:37:54Z DEBUG librespot_playback::player] command=VolumeSet(32767)
[2021-04-07T18:37:54Z INFO librespot::player_event_handler] Running ["/var/local/www/commandw/spotevent.sh"] with environment variables {"VOLUME": "32767", "PLAYER_EVENT": "volume_set"}
[2021-04-07T18:37:54Z DEBUG librespot_connect::spirc] kMessageTypeVolume "RYZEN" 5488c60814b159d4c05e709efc5b53ba5b719172 765488200 1617820674111 kPlayStatusStop
Do I have chance to verify that backend/device is correct one? Command below is extracted from px -aux | grep spot
Code:
sudo librespot --verbose --name Moode Spotify --bitrate 160 --initial-volume 80 --volume-ctrl log --cache /var/local/www/spotify_cache --disable-audio-cache --backend alsa --device plughw:0 --onevent /var/local/www/commandw/spotevent.sh