projects
/
elisp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor comment change.
[elisp.git]
/
media-mplayer.el
diff --git
a/media-mplayer.el
b/media-mplayer.el
index
c0df300
..
46acbb3
100644
(file)
--- a/
media-mplayer.el
+++ b/
media-mplayer.el
@@
-94,8
+94,8
@@
load Emacs less. Nil means no timing."
(let ((s (match-string 1 param)))
(concat (if (string= s "")
"<no title>"
(let ((s (match-string 1 param)))
(concat (if (string= s "")
"<no title>"
-
;;
(encode-coding-string s 'latin-1)
- s
+ (encode-coding-string s 'latin-1)
+
;;
s
)
" | "
(format-time-string "%a %b %d %H:%M:%S")
)
" | "
(format-time-string "%a %b %d %H:%M:%S")
@@
-109,6
+109,13
@@
load Emacs less. Nil means no timing."
(message "ICY Info \"%s\"" param)
)
(message "ICY Info \"%s\"" param)
)
+ (when media/mplayer/capture-dir
+ (let ((coding-system-for-write 'raw-text-unix))
+ (with-temp-buffer
+ (insert
+ (concat media/current-song-in-stream "\n"))
+ (write-region nil nil (concat media/mplayer/capture-dir "/log") t))))
+
(if (and media/current-song-in-stream media/current-information)
(media/show-current-information))
)
(if (and media/current-song-in-stream media/current-information)
(media/show-current-information))
)