Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


MPD volume issue (and question)
#3
I forgot to mention the process flow when a client for example an Airplay client connects to moOde and Camilla is in the audio chain and Camilla volume is being used.

1. Renderer before-play-starts event script fires: /var/local/www/commandw/spspre.sh
- Save MPD volume
- Set MPD volume to 100 so it outputs 0dB

2. Renderer starts playback
- Camilla starts and sets its volume
- This volume level is based on a state file maintained by Camilla and updated by mpd2cdspvolumesync daemon
- The initial level is the saved MPD volume from #1 above
.
3. Renderer stops playback
- Camilla stops

4. Renderer after-play-ends event script fires: /var/local/www/commandw/spspost.sh
- MPD volume is set to the saved MPD volume from #1 above
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
MPD volume issue (and question) - by hpyle - 01-14-2024, 01:47 AM
RE: MPD volume issue (and question) - by Tim Curtis - 01-14-2024, 11:17 AM
RE: MPD volume issue (and question) - by bitlab - 01-14-2024, 04:27 PM

Forum Jump: