Specify the -playlist option to mplayer

This keeps it from complaining about untrusted playlist sources.
This commit is contained in:
Tom Willemse 2016-01-08 11:42:39 +01:00
parent 9245b117e6
commit 4067ac11a3

View file

@ -65,7 +65,7 @@
"Start listening to Metal Express Radio." "Start listening to Metal Express Radio."
(interactive) (interactive)
(let ((proc (start-process "metalexpress" "*Metal Express Radio*" (let ((proc (start-process "metalexpress" "*Metal Express Radio*"
"mplayer" metal-express-radio-playlist-url))) "mplayer" "-playlist" metal-express-radio-playlist-url)))
(set-process-filter proc #'mer-proc-filter))) (set-process-filter proc #'mer-proc-filter)))
(defun metal-express-radio-stop () (defun metal-express-radio-stop ()