aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorZHANG Weiyi <dochang@gmail.com>2018-04-18 13:18:35 +0800
committerZHANG Weiyi <dochang@gmail.com>2018-04-18 13:18:35 +0800
commit6740042df600637032dd71794f1b600a85c4099d (patch)
tree82185af282686e96d107901f75278b1ffbaee013 /lisp
parent9b7b50a89bc4f9df7f9edd6e939508288f0ffa9b (diff)
* lisp/emms-player-mpv.el: Use `emms-player-base-format-list'
Diffstat (limited to 'lisp')
-rw-r--r--lisp/emms-player-mpv.el8
1 files changed, 2 insertions, 6 deletions
diff --git a/lisp/emms-player-mpv.el b/lisp/emms-player-mpv.el
index 45a43d7..4229a63 100644
--- a/lisp/emms-player-mpv.el
+++ b/lisp/emms-player-mpv.el
@@ -54,12 +54,8 @@
(define-emms-simple-player mpv '(file url streamlist playlist)
(concat "\\`\\(https?\\|mms\\)://\\|"
- (emms-player-simple-regexp
- "ogg" "mp3" "wav" "mpg" "mpeg" "wmv" "wma"
- "mov" "avi" "divx" "ogm" "ogv" "asf" "mkv"
- "rm" "rmvb" "mp4" "flac" "vob" "m4a" "ape"
- "flv" "webm" "m4b" "m4p" "m4v" "m4r" "3gp"
- "aac"))
+ (apply #'emms-player-simple-regexp
+ emms-player-base-format-list))
"mpv" "--no-audio-display" "--quiet" "--really-quiet")
(defadvice emms-player-mpv-start (around append-arguments activate)