Thank you for your donation!


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


Instruction Guide Use hardware momentary switches to control moOde
#41
Tim,
I love the Moode player looking to modify my old tuner with a display and reuse some of the buttons to control the moode player

So far so good - have the player running, have been experimenting with switches and the new GPIO handler is great.  I want to create buttons for my most frequent radio stations - so have created playlists e.g BBC>R3 and tried to follow your instructions to crate a script test.sh but it is not working correctly

pi@moode:~ $ sudo cat test.sh
#!/bin/bash
mpc clear
mpc load BBC>R3
mpc play
pi@moode:~ $ 


I am sure I am doing something wrong with the script.
When I program 3 switches:
mpd clear
mpd load BBC>R3
mpd play

and press them is sequence I can get the functions to work

Any help appreciated
Reply


Messages In This Thread
RE: Use hardware momentary switches to control moOde - by Britracer - 01-11-2020, 05:24 AM

Forum Jump: