09-20-2023, 12:55 PM
how do I select a mp3 folder on my USB drive which is connected to the raspberry pi,
I can select the MP3 Folder via gui which all works fine.
I have now just put a apple remote to it and volume up and down next etc all works
but I want to press the MENU button to select a folder on the USB drive
I have done this
begain
prog=irexec
Button=KEY_MENU
config=/home/pi/Mp3.sh
end
and made this script Mp3.sh
#!/bin/bash
mpc stop
mpc clear
mpc load Mp3
mpc play
and put in Home/pi
on the usb it say USB/B007/MP3
but when I press it Northing happens I am totally Lost does anyone have any Idea where I am going wrong
Many thanks
I can select the MP3 Folder via gui which all works fine.
I have now just put a apple remote to it and volume up and down next etc all works
but I want to press the MENU button to select a folder on the USB drive
I have done this
begain
prog=irexec
Button=KEY_MENU
config=/home/pi/Mp3.sh
end
and made this script Mp3.sh
#!/bin/bash
mpc stop
mpc clear
mpc load Mp3
mpc play
and put in Home/pi
on the usb it say USB/B007/MP3
but when I press it Northing happens I am totally Lost does anyone have any Idea where I am going wrong
Many thanks