Specific os.execute not working
Posted: Saturday 01 February 2020 15:42
I'm trying to execute mplayer through Dzvents, but a specific command isn't working.
The first command works within Dzvents, but the second one isn't.
mplayer /home/pi/deurbel.mp3 does work as a direct command in putty.
Does anybody know what's wrong?
Code: Select all
os.execute ('amixer -D bluealsa sset "Trust SPK-14 - A2DP" 80%')
os.execute ('mplayer /home/pi/deurbel.mp3')
mplayer /home/pi/deurbel.mp3 does work as a direct command in putty.
Does anybody know what's wrong?