Posts: 17
Threads: 3
Joined: Jun 2021
Reputation:
0
06-30-2021, 01:01 PM
Hi all,
I'm trying to setup a system, and I need to be able to stop audio playing in any rendering mode in order to release the ALSA output. curl http://localhost/command/?cmd=stop/play works fine for MPD, but does nothing when playing through Spotify Connect. Ideas how to achieve this?
Regards
/Robert
Posts: 17
Threads: 3
Joined: Jun 2021
Reputation:
0
Thank you Tim,
Problem with the restarting of f.i. Spotify renderer is that it disconnects the Spotify controller app and sets the renderer output volume to zero. This is a not good from a user experience viewpoint. Have to find some other means to disconnect the ALSA backend.
Regards
/Robert
Posts: 17
Threads: 3
Joined: Jun 2021
Reputation:
0
07-01-2021, 07:58 AM
(This post was last modified: 07-01-2021, 07:59 AM by robiwan.)
Ok, interesting. I used the "disconnect" button in the moode GUI, and it stops the Spotify renderer, disconnecting the client, but apparently does NOT reset the renderer as the volume when reconnecting the Spotify app is the same as before. What does the "disconnect" button do, and can I emulate that from command line?
Regards
/R
Posts: 14,043
Threads: 320
Joined: Mar 2018
Reputation:
571
It does same as moodeutl -R which is same as RESTART Spotify in Audio Config
Posts: 17
Threads: 3
Joined: Jun 2021
Reputation:
0
But something must be different, right? Each time I do moodeutl -R --spotify and then reconnect, the volume is reset to zero, whereas it remains at max if I use the "disconnect" button.
Posts: 190
Threads: 12
Joined: Aug 2020
Reputation:
1
Check maybe the initial volume of Spotify in setting. Spotify will restart with whatever volume you set in settings