View Single Post
luca's Avatar
Posts: 1,137 | Thanked: 402 times | Joined on Sep 2007 @ Catalunya
#216
Originally Posted by luca View Post
(In fact I think kagu already does: browsing the source I saw that it reacts to some dbus signals and a reference to this thread, so this should be generic for any media player)
well, that doesn't seem to be fully implementer, however kagu has a fifo in /home/user/.kagu/fifo and if you send it the string "pause" it will toggle pause on and off (the problem being that if it is already paused it will resume playing instead of pausing ).
It also accepts a status command, but it doesn't tell if it is paused or not, just the name of the file currently playing.