Thank you for your donation!


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


Solved: 9.0.X moode ssh cmd not working
#1
I have installed moode audio 9.0.x version 

I have added IR remote with below commands and coped to triggers.d folder.

but those commands not recognize by moode audio.


can any one please help. if i missing any steps.

Path : /etc/triggerhappy/triggers.d


KEY_ENTER 1  mpc toggle
KEY_KEYUP 1 /var/www/util/vol.sh -up 5
KEY_KEYDOWN 1 /var/www/util/vol.sh -dn 5
KEY_LEFT 1  mpc prev
KEY_RIGHT 1  mpc next
KEY_VOLUMEUP 1 /var/www/util/vol.sh -up 5
KEY_VOLUMEDOWN 1 /var/www/util/vol.sh -dn 5
KEY_MUTE  1 /var/www/util/vol.sh -mute
KEY_BACKSPACE 1 /var/www/util/vol.sh -mute
Reply
#2
Here is the default file that ships with moode

Code:
pi@moode9:~ $ cat /etc/triggerhappy/triggers.d/media.conf
KEY_VOLUMEUP     1 /var/www/util/vol.sh -up 1
KEY_VOLUMEDOWN   1 /var/www/util/vol.sh -dn 1
KEY_MUTE         1 /var/www/util/vol.sh -mute
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
(07-03-2024, 10:23 AM)Tim Curtis Wrote: Here is the default file that ships with moode

Code:
pi@moode9:~ $ cat /etc/triggerhappy/triggers.d/media.conf
KEY_VOLUMEUP     1 /var/www/util/vol.sh -up 1
KEY_VOLUMEDOWN   1 /var/www/util/vol.sh -dn 1
KEY_MUTE         1 /var/www/util/vol.sh -mute

Hi Tim,

Thanks for reply.

I have copied my commands in the media.conf also. still not recognize 
Reply
#4
pi@moode:/etc/triggerhappy/triggers.d $ ls
media.conf  my.conf
pi@moode:/etc/triggerhappy/triggers.d $ cat my.conf
KEY_ENTER       1       /usr/bin/mpc toggle
KEY_KEYUP       1       /var/www/util/vol.sh -up 5
KEY_KEYDOWN     1       /var/www/util/vol.sh -dn 5
KEY_LEFT        1       /usr/bin/mpc prev
KEY_RIGHT       1       /usr/bin/mpc next
KEY_VOLUMEUP    1       /var/www/util/vol.sh -up 5
KEY_VOLUMEDOWN  1       /var/www/util/vol.sh -dn 5
KEY_MUTE        1       /var/www/util/vol.sh -mute
KEY_BACKSPACE   1       /var/www/util/vol.sh -mute
pi@moode:/etc/triggerhappy/triggers.d $ cat media.conf
KEY_VOLUMEUP     1 /var/www/util/vol.sh -up 1
KEY_VOLUMEDOWN   1 /var/www/util/vol.sh -dn 1
KEY_MUTE         1 /var/www/util/vol.sh -mute
Reply
#5
Quick test with my USB volume knob and no issues.

Maybe the presence of duplicates in the files is causing the issue. Try taking the removing the volume up/down/mute commands from your file.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#6
(07-03-2024, 11:01 AM)Tim Curtis Wrote: Quick test with my USB volume knob and no issues.

Maybe the presence of duplicates in the files is causing the issue. Try taking the removing the volume up/down/mute commands from your file.

Option USB volume knob is off by default. once I make it ON. its working.

Thanks Smile
Reply


Forum Jump: