diff options
author | Yoni Rabkin <yoni@rabkins.net> | 2016-10-25 09:33:41 -0400 |
---|---|---|
committer | Yoni Rabkin <yoni@rabkins.net> | 2016-10-25 09:33:41 -0400 |
commit | 4148457ab5d314c05d3b7a1716e26a23f1c9c237 (patch) | |
tree | 760ced7c67026da8be21ecb451d3462dd78d2dbf | |
parent | 02c5183a484b12d529b0901a81604eb658bec8d3 (diff) |
* lisp/emms-stream-info.el: rename emms-stream-info-backend.
-rw-r--r-- | lisp/emms-stream-info.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/emms-stream-info.el b/lisp/emms-stream-info.el index bdf0aad..758c0ee 100644 --- a/lisp/emms-stream-info.el +++ b/lisp/emms-stream-info.el @@ -23,7 +23,7 @@ ;;; Commentary: ;; -;; Set `*emms-stream-info-backend*' to either 'vlc or 'mplayer, which +;; Set `emms-stream-info-backend' to either 'vlc or 'mplayer, which ;; are the two currently supported backends for retrieving stream ;; information. You can then either call `emms-stream-info-message' ;; directly or hit "i" in the `emms-streams' buffer over stream you @@ -44,7 +44,7 @@ ;;; Code: -(defvar *emms-stream-info-backend* 'mplayer +(defvar emms-stream-info-backend 'mplayer "Symbol designating the backend program to use.") ;; using unhygienic macros for good... or is it evil? @@ -84,13 +84,13 @@ (with-temp-buffer (message "querying stream...") (cond - ((eq *emms-stream-info-backend* 'mplayer) + ((eq emms-stream-info-backend 'mplayer) (emms-stream-info-mplayer-backend url) (emms-stream-info-defreg name "^Name[ ]+:[ ]+\\(.*\\)$") (emms-stream-info-defreg genre "^Genre[ ]+:[ ]+\\(.*\\)$") (emms-stream-info-defreg bitrate "^Bitrate[ ]+:[ ]+\\(.*\\)$") (emms-stream-info-defreg nowplaying "ICY Info: StreamTitle='\\(.+?\\)'")) - ((eq *emms-stream-info-backend* 'vlc) + ((eq emms-stream-info-backend 'vlc) (emms-stream-info-vlc-backend url) (emms-stream-info-defreg name "'Title' = '\\(.*\\)'") (emms-stream-info-defreg genre "Genre: \\(.*\\)") |