06-30-2021, 04:33 PM
The renderers are separate playback receivers each with their own command protocol thats typically managed by the client sending application. I don't know of any command line interfaces to the various protocols except for Bluetooth which can be controlled via /var/www/command/bt.sh
The only other mechanism that moOde provides to stop the audio from a renderer and release the ALSA output is to restart the renderer using moodeutl -R [renderer name]. This will disconnect the renderer and free up the ALSA output. IIRC exception is Squeezelite which by default hogs the output when its started so in this case it needs to be turned off. This part isn't handled by moodeutl -R.
The only other mechanism that moOde provides to stop the audio from a renderer and release the ALSA output is to restart the renderer using moodeutl -R [renderer name]. This will disconnect the renderer and free up the ALSA output. IIRC exception is Squeezelite which by default hogs the output when its started so in this case it needs to be turned off. This part isn't handled by moodeutl -R.
Code:
pi@rp2:~ $ moodeutl --help
Usage: moodeutl [OPTION]
Moode utility programs
With no OPTION print the help text and exit.
-a Print features availability
-A [add|rm N] Update features availability
-d Dump session file (requires sudo)
-D [var name] Delete session variable (requires sudo)
-e [filename] Export settings to moodecfg.ini
-i Import moodecfg.ini
-f Print supported audio formats
-F Print full alsacap info
-l Print moode log
-m Run system monitor
-o List audio overlays
-q Query sql database
-r Restart servers
-R Restart renderer [--name]
[bluetooth | airplay | spotify | squeezelite | roonbridge]
-s Print system info
-t Print last 10 lines of moode log and wait
-u Check radio station urls for playability
-U Check station urls, list only unplayable
--mooderel Print moOde release
--revision Print the hardware revision
--version Print the program version
--help Print this help text
pi@rp2:~ $