From d12e1dc2cfd8773c8c7bfb207e2fbcaad9d674a5 Mon Sep 17 00:00:00 2001 From: Rasmus Date: Tue, 29 Jul 2014 15:31:06 +0200 Subject: emms-info libtag.el: Easier to add new extension * emms-print-metadata.c (main): Better error message. * emms-info-libtag.el (emms-info-libtag): New group. (emms-info-libtag-program-name): Change to defcustom. (emms-info-libtag-known-extensions): New variable. (emms-info-libtag): Use emms-info-libtag-known-extensions. Two changes: First, emms-info-libtag tells the user that it may work with other forms. Since emms-info-libtag-known-extensions is now a regexp variable so users can easily add new extensions, if needed. --- src/emms-print-metadata.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/emms-print-metadata.c b/src/emms-print-metadata.c index d22fe96..48f4904 100644 --- a/src/emms-print-metadata.c +++ b/src/emms-print-metadata.c @@ -33,7 +33,7 @@ main (int argc, char **argv) if (argc != 2) { - fprintf (stderr, "usage: emms-print-metadata file.{mp3,ogg,flac}\n"); + fprintf (stderr, "usage: emms-print-metadata file.{mp3,ogg,flac}\nother formats may work as well.\n"); exit (1); } -- cgit v1.2.3