![]() |
[PROBLEM] Displayed volume not updated when using triggerhappy - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7) +--- Thread: [PROBLEM] Displayed volume not updated when using triggerhappy (/showthread.php?tid=7703) |
Displayed volume not updated when using triggerhappy - scaronpce - 05-06-2025 Greetings! TriggerHappy successfully updates the output volume (and I can hear the action). However the volume display on the web page is never updated. What else do I need to know ;-) ? Regards, PS: here is a sample output from the triggerhappy daemon musical@moOde:~ $ sudo systemctl status triggerhappy ● triggerhappy.service - triggerhappy global hotkey daemon Loaded: loaded (/lib/systemd/system/triggerhappy.service; enabled; preset: enabled) Active: active (running) since Tue 2025-05-06 12:32:34 EDT; 55min ago TriggeredBy: ● triggerhappy.socket Main PID: 8352 (thd) Tasks: 1 (limit: 9574) CPU: 136ms CGroup: /system.slice/triggerhappy.service └─8352 /usr/sbin/thd --triggers /etc/triggerhappy/triggers.d/ --socket /run/thd.socket --user nobody --dev> May 06 12:36:45 moOde thd[8352]: Executing trigger action: /usr/bin/mpc stop May 06 12:36:45 moOde thd[10738]: volume: 85% repeat: off random: off single: off consume: off May 06 12:39:17 moOde thd[8352]: Executing trigger action: /usr/bin/mpc toggle May 06 12:39:17 moOde thd[11387]: http://listen.jazz88.org/ksds.mp3 May 06 12:39:17 moOde thd[11387]: [playing] #8/31 0:00/0:00 (0%) May 06 12:39:17 moOde thd[11387]: volume: 85% repeat: off random: off single: off consume: off May 06 13:28:16 moOde thd[8352]: Executing trigger action: /usr/bin/mpc volume +5 May 06 13:28:16 moOde thd[20567]: http://listen.jazz88.org/ksds.mp3 May 06 13:28:16 moOde thd[20567]: [playing] #8/31 48:59/0:00 (0%) May 06 13:28:16 moOde thd[20567]: volume: 90% repeat: off random: off single: off consume: off musical@moOde:~ $ RE: Displayed volume not updated when using triggerhappy - Tim Curtis - 05-06-2025 Have a look at the default triggerhappy conf file https://github.com/moode-player/moode/blob/develop/etc/triggerhappy/triggers.d/media.conf RE: Displayed volume not updated when using triggerhappy - scaronpce - 05-06-2025 Hello Tim, Perhaps you did not read the triggerhappy log in the original post: triggerhappy is reporting volume decrease/increase properly. It is the main display that is not updated. As noted before, I can hear the volume going up or down. For the record, here is my OSMCRemoteControl.conf triggerhappy configuration: Code: KEY_MINUS 1 /usr/bin/mpc volume -5 RE: Displayed volume not updated when using triggerhappy - Tim Curtis - 05-06-2025 You need to use the vol.sh command if you want the volume knob in the WebUI updated. An example is in the default media.conf file that posted earlier. RE: Displayed volume not updated when using triggerhappy - scaronpce - 05-06-2025 Great! Thank you for your patience ;-). |