Activity log for bug #1654532

Date Who What changed Old value New value Message
2017-01-06 10:53:04 G.M. bug added bug
2017-01-06 13:02:36 G.M. description Hi, I cannot manage to get mplayer output sound when running inside a script. I have a script: -rwxr-xr-x ~/Softs/alarm.sh Which contains: mplayer ~/.sounds/alarm.ogg -loop 3 1. If I run the script with: . ~/Softs/alarm.sh I can hear the sound. 2. If I run the script with: ~/Softs/alarm.sh I hear nothing but the output of mplyer is normal, the same as when it play a sound correctly. I've read millions of forums, tried millions of options of mplayer (DISPLAY=:0.0 mplayer, -vo null, -ao pulse, -volume, -af, -softvol/-softvolmax, -really-quiet...) I've also tried other players, like aplayer (same problem) and play (no problem). Does anyone have an idea if this is a bug and/or where does this difference in behaviour comes from??? Hi, I cannot manage to get mplayer output sound when running inside a script. I have a script: -rwxr-xr-x ~/Softs/alarm.sh Which contains: #!/bin/bash mplayer ~/.sounds/alarm.ogg -loop 3 1. If I run the script with: . ~/Softs/alarm.sh I can hear the sound. 2. If I run the script with: ~/Softs/alarm.sh I hear nothing but the output of mplyer is normal, the same as when it play a sound correctly. I've read millions of forums, tried millions of options of mplayer (DISPLAY=:0.0 mplayer, -vo null, -ao pulse, -volume, -af, -softvol/-softvolmax, -really-quiet...), still no luck I've tried with/without the begining shebang in the script, no more luck. I've also tried other players, like aplayer (same problem) and play (no problem). Does anyone have an idea if this is a bug and/or where does this difference in behaviour comes from???