Thank you for your donation!


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


Problem: Double volume control?
#1
Hi,
My setup is a RPi2 with a Hifiberry DAC+.
Let's suppose that I am playing music at the volume level of 50.
Then, if I use an Android "remote control" such as MPDroid or M.A.L.P. to raise it to 60, I hear the volume increase.
However, if I open the moOde web interface, the volume is still at 50. Then, if I increase the volume from the web interface to 55, I hear the volume decrease, and both Android apps will show the volume at 55.
I would like that volume changes from the MPD remotes would also control the one on the web interface. I have tried to change in Configure / Audio / Volume type from Software to Hardware, but it is the same.
Reply
#2
You can try enabling UPNP volume sync but it's a legacy hack and may or may not work going forward.

Code:
# Enable
moodeutl -A add 1024

# Disable
moodeutl -A rm 1024

# Print features availability
pi@moode:~ $ moodeutl -a
1               HTTPS-Only mode
2       y       AirPlay renderer
4       y       DLNA server
8               Stream recorder
16      y       Squeezelite renderer
32      y       UPnP client for MPD
64              Require squashfs for software update
128     y       RoonBridge renderer
256     y       Local display
512     y       Input source select
1024            UPnP volume sync
2048    y       Spotify Connect renderer
4096    y       GPIO button handler
8192    y       Reserved for future use
16384   y       Bluetooth renderer
32768           Developer tweaks
65536   y       Multiroom audio
pi@moode:~ $

# Help
pi@moode:~ $ 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 [filename] or ./moodecfg-<timestamp>.ini
 -i             Import settings (/boot/moodecfg.ini)
 -f             Print supported audio formats
 -F             Print full alsacap info
 -l             Print moode log
 -m             Run system monitor
 -s             Print system info
 -c             Detect CIFS (SMB) hosts
 -C             Detect CIFS (SMB) shares [host or ip address]
 -N             Detect NFS hosts
 -M             Detect MPD hosts
 -o             List audio overlays
 -p             Import playlists
 -q             Query sql database
 -r             Restart servers
 -R             Restart renderer [--bluetooth | --airplay | --spotify | --squeezelite | --roonbridge]
 -t             Print last 10 lines of moode log and wait
 -u             Check radio station urls for playability
 -U             Check station urls, list only unplayable
 --btreset      Reset Bluetooth to off
 --mpdlog       Print MPD log
 --updlog       Print in-place update log
 --mooderel     Print moOde release
 --revision     Print hardware revision
 --version      Print program version
 --help         Print this help text
pi@moode:~ $ 
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
Thank you; I might give it a try. Or perhaps I will just stop using the Android apps.
Reply
#4
I'm having a similar problem, but before I describe it, I have some doubts about the text above. The original poster mentions his problems with two MPD clients and not UPnP streaming players.
Is Tim's reply still relevant?

I mean if he sets the MPD volume with some apps and the moOde web GUI disagrees, there seems to be a disconnect between the MPD and the gui?
Listening with the latest moOde on a RPI zero w with a MiniBoss DAC PCM5122 32bit 384kHz and a Volt+ AMP on a pair of Monitor Audio Bronze 100 speakers.

pi@moody:~ $ moodeutl -m 
CPU: 1.0 GHz, LOAD: 35% 47C | MEM: 63% used | DISK: 39% used, 4.1G free | PHP: 7 workers
Reply
#5
Yes, still relevant.

The volume level in the moOde knob is maintained in parallel but separately from MPD volume and this is why 3rd party apps including UPnP control points + UPnP renderer that use MPD to set volume are unable to update the level shown in the knob on the WebUI.

3rd party apps that want to have the moOde knob updated can refer to the Setup Guide which contains a section that describes an API to set volume.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Forum Jump: