I am trying to make a python script play a wave file every 10 seconds (just a beep) , it works great but if the media player is playing some mp3 the beep just does not play. No error, i just can't hear it. is there a way to make this work ?
I am using :
def play_uri():
player = gst.element_factory_make("playbin", "player")
player.set_property('uri',"file:///opt/customs/beep.wav" )
player.set_state(gst.STATE_PLAYING)
I am using :
def play_uri():
player = gst.element_factory_make("playbin", "player")
player.set_property('uri',"file:///opt/customs/beep.wav" )
player.set_state(gst.STATE_PLAYING)