@Cascote
Solved: The issue lies on the Sample rate of the Mp3 file. It seems that Pygame is not able to correctly play anything that's not on 44100Hz Rate, so I Resampled the mp3s that were not on that rate using Audacity
@legacy said in Modified Background Music Script with added overlays!:
I click a game, the video loading screen kicks in and the music fades out.
Black screen appears to load the game, but the music kicks in for 1 second and fades out, then the game loads.
is there a fix for this. Thank you
I know, I know, you have probably solved this or not interested on it anymore, but for whomever needs it, I had this issue too, I solved it by adding the following lines at the end of the runcommands scripts:
runcommand-onend.sh
pkill -CONT python
runcommand-onstart.sh
sleep 1
pkill -STOP python