Thank you for your donation!


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


Player commands over USB
#6
Oh yes, triggerhappy now is there, works, and if you want you can even customize commands by editing the /etc/triggerhappy/triggers.d/media.conf file.
By default pushing the knob mutes audio, but I preferred to pause/play.
I changed this line:
KEY_MUTE 1 /var/www/vol.sh -mute
into this:
KEY_MUTE 1 /usr/bin/mpc toggle
After restarting the triggerhappy service my button switches between playback and pause!
Reply


Messages In This Thread
Player commands over USB - by codiac - 12-10-2020, 04:47 PM
RE: Player commands over USB - by TheOldPresbyope - 12-10-2020, 05:28 PM
RE: Player commands over USB - by Steve B - 12-10-2020, 07:01 PM
RE: Player commands over USB - by TheOldPresbyope - 12-10-2020, 07:56 PM
RE: Player commands over USB - by Steve B - 12-11-2020, 03:34 PM
RE: Player commands over USB - by Daksha - 01-29-2021, 07:23 PM

Forum Jump: