Code: Select all
cronjob @reboot Code: Select all
omxplayer /home/pi/.bootup/shine.mp3
then
read -p "Press the [Enter] key to stop omxplayer."
sudo killall /usr/bin/omxplayer.bin
Code: Select all
cronjob @reboot Code: Select all
omxplayer /home/pi/.bootup/shine.mp3
then
read -p "Press the [Enter] key to stop omxplayer."
sudo killall /usr/bin/omxplayer.bin
Ok thanks but is there any other way to read key inputs?ghans wrote:YouProblemProgram runs in backround and hasn't
got access the terminal and therefore can't read keypresses.
ghans