I;ve got a program on the PI4 written in python. it uses the os.system command to activate the oxmplayer to play an audio file.
When I run the program in Thonny or from the terminal, it plays just fine.
When I run the program from boot up with rc.local, no audio comes out. It looks like it thinks it’s playing the file, but no noise comes out of the USB speakers or headphone jack or HDMI. What could be causing this / what do I do about it? I need the program to start up when the Pi turns on, as it’s in a sculpture and I won’t be there for every power outage.