I have a python gtk interface that pause rhythmbox with rhythmbox-client --pause, play a video and after that play again rhythmbox with rhythmbox-client --play
The problem is that sometimes rhythmbox after the unpause, begin to be unstable: the sound stops (but the interface continue running the song), the seconds show incoherent data (like 4322346234:12)...
I have tried different method to call rhythmbox-client inside the python script: os.system, subprocess.run, subprocess.call all with the same result.
any idea what could be the problem? Btw, rhythmbox vers. 3.2.1 and python 3.5.1