(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")
)
(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)))
+ (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))