@Soryn79 said in Quick and easy guide for adding music to Emulatonstation on RetroPie. Noob friendly!:
I recommend changing:
while pgrep omxplayer >/dev/null; do sleep 1; done
(sleep 10; mpg123 -Z /home/pi/bgm/*.mp3 >/dev/null 2>&1) &
emulationstation #auto
to this: (the --no-splash is optional)
emulationstation --no-splash &
while pgrep omxplayer >/dev/null; do sleep 1; done
(mpg123 -Z /home/pi/bgm/*.mp3 >/dev/null 2>&1) #auto
Changing it so that it starts after ES loads just makes more sense to me. This makes sure that the music will always start 1 second after the video ends regardless of video length.
Hi there, I tried your version and whilst it works beatifully on startup, it breaks emulationstation when pressing F4, it just hangs on a blank screen.
I thought I'd let you know.
Any ideas?
Best!
Luca