Patch: ignore taglib warnings

View: New views
2 Messages — Rating Filter:   Alert me  

Patch: ignore taglib warnings

by Tom Rauchenwald :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

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

_______________________________________________
Emms-help mailing list
Emms-help@...
http://lists.gnu.org/mailman/listinfo/emms-help

Re: Patch: ignore taglib warnings

by Michael Olson-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Tom Rauchenwald <its.sec@...> writes:

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

Thanks for the patch -- I've checked it in.

--
|       Michael Olson  |  FSF Associate Member #652     |
| http://mwolson.org/  |  Hobbies: Lisp, HCoop          |
| Projects: Emacs, Muse, ERC, EMMS, ErBot, DVC, Planner |
`-------------------------------------------------------'


_______________________________________________
Emms-help mailing list
Emms-help@...
http://lists.gnu.org/mailman/listinfo/emms-help