Comment 4 for bug 656947

Revision history for this message
Conor Curran (cjcurran) wrote :

Exactly Vsevolod,

Basically registration takes place through libindicate. After registration the menu attempts then to create a connection to the DBus MPRIS interface for that particular player. Only when this MPRIS connection is established can the menu receive or send state messages.
If you test with rhythmbox you will see that when you start the player, the state of the player is updated on the UI on menu.

I suspect what you suggest above is where the problem is. I just checked the code base to see if the method initial_update in the mpris2-controller.vala is called and to my surprise its not ! All other players are working fine though.
There are two ways to fix this, to prove could you delay the state property update signal to be sent 4 seconds after registration. For a proper fix we should talk further.

Conor

Conor