X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=elisp.git;a=blobdiff_plain;f=media-mplayer.el;h=ff1747e3337097ec60f8a2a455db7e4c5f772276;hp=c0df300aae28f335db0a072c85507b75ba0317b4;hb=41d67536a6418bc1b6259cc3f390b892cb931417;hpb=aa1435b5ae3a849522f783870cb9c393a9549d9b diff --git a/media-mplayer.el b/media-mplayer.el index c0df300..ff1747e 100644 --- a/media-mplayer.el +++ b/media-mplayer.el @@ -109,6 +109,12 @@ load Emacs less. Nil means no timing." (message "ICY Info \"%s\"" param) ) + (when media/mplayer/capture-dir + (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)) )