[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[emms-help] Patch: ignore taglib warnings

From: Tom Rauchenwald
Subject: [emms-help] Patch: ignore taglib warnings
Date: Sun, 22 Jun 2008 19:11:03 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)


in some cases TagLib puts a warning on stderr which confuses emms. Does
the following patch make sense (it sends STDERR to nil)

diff --git a/lisp/emms-info-libtag.el b/lisp/emms-info-libtag.el
index 96c7613..548b744 100644
--- a/lisp/emms-info-libtag.el
+++ b/lisp/emms-info-libtag.el
@@ -58,7 +58,7 @@
       (when (zerop
              (let ((coding-system-for-read 'utf-8))
                (call-process "emms-print-metadata" 
-                             nil t nil
+                             nil '(t nil) nil
                              (emms-track-name track))))
         (goto-char (point-min))
         ;; Crush the trailing whitespace
Only those who will risk going too far can possibly find out how far
one can go.
        -- T.S. Eliot

reply via email to

[Prev in Thread] Current Thread [Next in Thread]