Hi altogether,
I am curious as how to solve a peculiar “problem”. Nothing major but I´m still interested in a possible solution.
I have Big-Ben chimes played out every quarter of an hour and put the respective entries in my crontab.
Example:
15 * * * * if [ ! -f /tmp/Ruhe ]; then mplayer /media/rosika/f14a27c2-0b49-4607-94ea-2e56bbf76fe1/DATEN-PARTITION/Dokumente/Pausenzeichen/Big_Ben_chimes/Big_Ben_quarter_hour > /dev/null 2>&1; fi
That works very well.
But I run into problems if I have some other noise played out at the same time.
Background:
I can´t stand complete silence and thus need some sort of background noise on a permanent basis.
As a rule I run this command:
firejail mpv --loop=inf /media/rosika/f14a27c2-0b49-4607-94ea-2e56bbf76fe1/DATEN-PARTITION/Musik/sounds_von_anoise/sounds/coffee_shop.ogg
from within a terminal.
which plays some coffee-shop background noise in a permanent loop.
This works well too.
However: when running the mpv-command for background noise I don´t get the chimes any more…
… which is weird as they ARE played back when issuing the respective command from within a terminal.
So, the command
firejail mplayer /media/rosika/f14a27c2-0b49-4607-94ea-2e56bbf76fe1/DATEN-PARTITION/Dokumente/Pausenzeichen/Big_Ben_chimes/Big_Ben_quarter_hour
works even if “coffee-shop” is running at the same time!
But it doesn´t work whenever it´s started by crontab!
BTW: the fact that I run the command within the sandbox “firejail” is of no consequence whatsoever.
The result is the same when issuing the command outside the sandbox.
Does anybody have a clue why that “problem” exists
Many thanks in advance.
Greetings
Rosika