aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Kazantsev <mk.fraggod@gmail.com>2018-05-26 03:16:08 +0500
committerfraggod@malediction <mk.fraggod@gmail.com>2018-05-26 03:16:08 +0500
commit9e3e94526175359da902529fd60de00ab2a538ea (patch)
tree4566d690ac6733baef5cc1771d7acd68d93e5b3d
parent015a10ed8ed31d629bef34a10a4d77519bcfa356 (diff)
* lisp/emms-player-mpv: fix playback state tracking for --input-file processes
-rw-r--r--lisp/emms-player-mpv.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/emms-player-mpv.el b/lisp/emms-player-mpv.el
index 74e215c..fb99801 100644
--- a/lisp/emms-player-mpv.el
+++ b/lisp/emms-player-mpv.el
@@ -339,6 +339,7 @@ MEDIA-ARGS are used instead of --idle, if specified."
(setq emms-mpv-proc
(make-process :name "emms-mpv"
:buffer nil :command argv :noquery t :sentinel 'emms-mpv-proc-sentinel))
+ (when (emms-mpv-ipc-fifo-p) (emms-mpv-proc-playing emms-mpv-proc))
(emms-mpv-debug-msg "proc[%s]: start %s" emms-mpv-proc argv)))
(defun emms-mpv-proc-stop ()