aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Kazantsev <mk.fraggod@gmail.com>2018-05-28 08:20:52 +0500
committerfraggod@malediction <mk.fraggod@gmail.com>2018-05-28 08:27:17 +0500
commit9dbe771bf188bc404de4fc2dad77b1f8cba9cfb6 (patch)
tree85ce37c0a25325d0e6a2a139d890597b6a635795
parentfdf8ede86113f62211a7d873b19b19698464e003 (diff)
* lisp/emms-player-mpv: add emms-player-base-format-list regexp for emms-add-* functions to use
-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