play and pause toggle dbus call

David stormbyte at gmail.com
Mon Apr 6 21:27:25 UTC 2009


On Lunes 06 Abril 2009 22:44:09 Ian Monroe escribió:
> On Mon, Apr 6, 2009 at 2:10 PM, David <stormbyte at gmail.com> wrote:
> > I can't see in DBUS interface any toggle function to toggle between play
> > and pause status in Player section. Is it a bug or maybe I am missing
> > something? If it does not exist, I suggest its implementation, since it
> > is needed in order to work by some keyboards with a play/pause key.
>
> This is a known issue with the MPRIS dbus API that will be addressed
> in the next version of MPRIS.
>
> In the mean time you'll have to inquire to the current status and play
> or pause accordingly.
>
> Ian
> _______________________________________________
> Amarok mailing list
> Amarok at kde.org
> https://mail.kde.org/mailman/listinfo/amarok
Thanks for the reply, I discovered that the Pause function already toggles 
between play and pause status without doing anything more than calling it.
So it can be addressed this way, while they fix it by setting it a proper name.
I realized that while trying to call twice to Pause function, the first time 
paused the song, and the second one, resumed it.



More information about the Amarok mailing list