aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/emms-player-mpv.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/emms-player-mpv.el b/lisp/emms-player-mpv.el
index d3d728b..f977003 100644
--- a/lisp/emms-player-mpv.el
+++ b/lisp/emms-player-mpv.el
@@ -59,6 +59,7 @@
(require 'emms)
+(require 'emms-player-simple)
(require 'json)
(require 'cl-lib)
@@ -72,6 +73,9 @@
:type '(cons symbol alist)
:group 'emms-player-mpv)
+(emms-player-set emms-player-mpv 'regex
+ (apply #'emms-player-simple-regexp emms-player-base-format-list))
+
(defcustom emms-player-mpv-command-name "mpv"
"mpv binary to use. Can be absolute path or just binary name."
:type 'file