diff options
author | Rasmus <rasmus@gmx.us> | 2014-07-29 15:31:06 +0200 |
---|---|---|
committer | rasmus <rasmus@gmx.us> | 2015-03-08 20:58:01 +0100 |
commit | d12e1dc2cfd8773c8c7bfb207e2fbcaad9d674a5 (patch) | |
tree | a1259039d477eb90e5884f79a91d3ae81a6097b1 /src | |
parent | 3f3dc1058db5f7accbc06e80e9ad329aec2ef434 (diff) |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/emms-print-metadata.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |