When I launch the player from the menu (using the play button this time), I cache a play action and wait for the player to launch. All good so far but when the player launches and it erects its mpris interface I have tried to then send that cached play event but it ignores it/ doesn't respond to it. My only solution to this is to use a timeout of a second after the mpris interface is ready and then fire off the action. Seems to be work but of course it is a complete hack ...
When I launch the player from the menu (using the play button this time), I cache a play action and wait for the player to launch. All good so far but when the player launches and it erects its mpris interface I have tried to then send that cached play event but it ignores it/ doesn't respond to it. My only solution to this is to use a timeout of a second after the mpris interface is ready and then fire off the action. Seems to be work but of course it is a complete hack ...