Try to deal properly with quotes in the stream's song names.
authorFrancois Fleuret <francois@fleuret.org>
Tue, 10 Mar 2015 13:57:49 +0000 (14:57 +0100)
committerFrancois Fleuret <francois@fleuret.org>
Tue, 10 Mar 2015 13:57:49 +0000 (14:57 +0100)
media-mplayer.el

index dd953be..cdff4a0 100644 (file)
@@ -80,7 +80,7 @@ load Emacs less. Nil means no timing."
              ;; ----------------------------------------
 
              ("ICY Info:" .
-              (if (string-match "StreamTitle='\\([^']*\\)';" param)
+              (if (string-match "StreamTitle='\\([^;]*\\)';" param)
                   (setq media/mplayer/current-stream-song (match-string 1 param))
                 (message "ICY Info \"%s\"" param)))