diff options
Diffstat (limited to 'emms-player-mplayer.el')
-rw-r--r-- | emms-player-mplayer.el | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/emms-player-mplayer.el b/emms-player-mplayer.el index 2bdecaa..9ed47e4 100644 --- a/emms-player-mplayer.el +++ b/emms-player-mplayer.el @@ -38,9 +38,11 @@ :group 'emms) (define-emms-simple-player mplayer '(file url) - (regexp-opt '(".ogg" ".mp3" ".wav" ".mpg" ".mpeg" ".wmv" ".wma" - ".mov" ".avi" ".divx" ".ogm" ".asf" ".mkv" "http://" "mms://" - ".rm" ".rmvb" ".mp4" ".flac" ".vob" ".m4a" ".ape")) + (mapconcat 'regexp-quote + '(".ogg" ".mp3" ".wav" ".mpg" ".mpeg" ".wmv" ".wma" + ".mov" ".avi" ".divx" ".ogm" ".asf" ".mkv" "http://" "mms://" + ".rm" ".rmvb" ".mp4" ".flac" ".vob" ".m4a" ".ape") + "\\|") "mplayer" "-slave" "-quiet" "-really-quiet") (define-emms-simple-player mplayer-playlist '(streamlist) |