- ("ICY Info:" .
- (progn
- ;; (message "ICY Info \"%s\"" param)
- (if (string-match "StreamTitle='\\([^;]*\\)';" param)
- (setq media/current-song-in-stream
- (let ((s (match-string 1 param)))
- (concat (if (string= s "") "<no title>" s)
- " | "
- ;; (current-time-string)
- (format-time-string "%a %b %d %H:%M:%S")
- )))
- (setq media/current-song-in-stream nil)
- (message "ICY Info \"%s\"" param))
- (if (and media/current-song-in-stream media/current-information)
- (media/show-current-information)))
- )