Is it possible to implement CLI controls to Guayadeque, at least those most basic ones for the start, like --play, --stop, --previous, --next.
That would help a lot for controlling the player with some multimedia keyboards in environments that do not offer friendly way to activate and adjust those shortcuts.
Also, I've been using those CLI controls on Rhythmbox to set up and control playback with TV card remote control. It probably isn't that hard to implement and it would further widen the usability potential of the player.
Best regards,
Nikola
Player controls trough CLI
- anonbeat
- Posts: 2048
- Joined: Thu Sep 16, 2010 9:47 pm
-
- Posts: 7
- Joined: Sun Jul 29, 2012 11:43 pm
Player controls trough CLI
Thanks! That does it perfectly with some aliases defined. (I tried searching but did not find)
Only 1 thing, Play/Pause command actually does Play/Stop, so instead of
dbus-send --print-reply --type=method_call --dest=org.mpris.guayadeque /Player org.freedesktop.MediaPlayer.Play
there is real Play/Pause command:
dbus-send --print-reply --type=method_call --dest=org.mpris.guayadeque /Player org.freedesktop.MediaPlayer.Pause
Cheers
Only 1 thing, Play/Pause command actually does Play/Stop, so instead of
dbus-send --print-reply --type=method_call --dest=org.mpris.guayadeque /Player org.freedesktop.MediaPlayer.Play
there is real Play/Pause command:
dbus-send --print-reply --type=method_call --dest=org.mpris.guayadeque /Player org.freedesktop.MediaPlayer.Pause
Cheers
-
- Posts: 7
- Joined: Sun Jul 29, 2012 11:43 pm
Player controls trough CLI
And now I notice that play/pause thing has been already mentioned in the last post of the thread you linked... I'll just stop writing XD