Replies: 2 comments
-
Hi smeea, Glad you like kew. :D You can control kew through mpris: dbus-send --print-reply --dest=org.mpris.MediaPlayer2.kew /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Play dbus-send --print-reply --dest=org.mpris.MediaPlayer2.kew /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Pause dbus-send --print-reply --dest=org.mpris.MediaPlayer2.kew /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next dbus-send --print-reply --dest=org.mpris.MediaPlayer2.kew /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.Set string:"org.mpris.MediaPlayer2.Player" string:"Volume" variant:double:0.2 dbus-send --dest=org.mpris.MediaPlayer2.kew /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Quit |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot, that was exactly what I was looking for! P.S. For others in need: instead of dbus-send you may want to use MPRIS command wrapper like |
Beta Was this translation helpful? Give feedback.
-
Hi,
Thanks for awesome player!
It covers very useful case for me: to quickly run it from command line runner (e.g. "rofi" or any other in many window managers). But problem is when I start it like this is I lose control over it and calling kew in terminal only provides PID to kill it.
It would be great to have way to send commands to running instance (ideally to completely re-attach with UI, but even "kew stop / start / pause / volume+-), so that I can start it the quickest way and then just use some keybindings to control it from everywhere.
Beta Was this translation helpful? Give feedback.
All reactions