diff options
author | Yoni Rabkin <yrk@gnu.org> | 2014-12-02 15:01:39 -0500 |
---|---|---|
committer | Yoni Rabkin <yrk@gnu.org> | 2014-12-02 15:01:39 -0500 |
commit | 857229ca8fa7f058e956cf9dcfbae19d23f2e50b (patch) | |
tree | 03ac33a4552782eeab3fe536947365569e446c07 /lisp/emms-player-mplayer.el | |
parent | 65550e4d2afbd2f9d068539e0867f91ec16b068b (diff) |
Add and use variable `emms-player-base-format-list'.
This variable holds the set of common formats that most modern players
support. A new player definition should use this base list and add
formats specific to the new player in the player definition file.
Diffstat (limited to 'lisp/emms-player-mplayer.el')
-rw-r--r-- | lisp/emms-player-mplayer.el | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lisp/emms-player-mplayer.el b/lisp/emms-player-mplayer.el index b52503a..2fc5d3b 100644 --- a/lisp/emms-player-mplayer.el +++ b/lisp/emms-player-mplayer.el @@ -35,11 +35,8 @@ (define-emms-simple-player mplayer '(file url) (concat "\\`\\(http\\|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" "aif")) + (apply #'emms-player-simple-regexp + emms-player-base-format-list)) "mplayer" "-slave" "-quiet" "-really-quiet") (define-emms-simple-player mplayer-playlist '(streamlist) |