From 9dbe771bf188bc404de4fc2dad77b1f8cba9cfb6 Mon Sep 17 00:00:00 2001 From: Mike Kazantsev Date: Mon, 28 May 2018 08:20:52 +0500 Subject: * lisp/emms-player-mpv: add emms-player-base-format-list regexp for emms-add-* functions to use --- lisp/emms-player-mpv.el | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3