aboutsummaryrefslogtreecommitdiff
path: root/emms-tag-editor.el
diff options
context:
space:
mode:
authorGrant Shangreaux <grant@unabridgedsoftware.com>2021-01-10 20:30:35 -0600
committerGrant Shoshin Shangreaux <grant@churls.world>2021-05-07 16:02:25 -0500
commitc80315946e885a523f74d6a66ca7d7fa0682d6c2 (patch)
tree7dcc9b0c6061e704e799f08e638cf9a5f2bbdc86 /emms-tag-editor.el
parentb0173b6b4c5b66a4706cb82c9b50a179bf159a0f (diff)
Add: emms-tracktag wrapper for the audiotools program
http://audiotools.sourceforge.net/ provides a tool `tracktag` which handles writing tags for several different audio formats, including Opus. this patch provides a very basic wrapper to interface between EMMS track info and tracktag metadata. It also configures emms-tag-editor.el to use it for writing tags to Opus files. Add: test.sh and test/test-all.el Basic setup to run ert tests from the terminal using Emacs in batch mode. This should load up only ERT, the tests in the test/ directory and their dependencies. Add: opus extension to emms-libtag-known-extensions libtag works as a reader for opus files, this just ads the opus extension to the regexp list.
Diffstat (limited to 'emms-tag-editor.el')
-rw-r--r--emms-tag-editor.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/emms-tag-editor.el b/emms-tag-editor.el
index 5b6e447..45c90f7 100644
--- a/emms-tag-editor.el
+++ b/emms-tag-editor.el
@@ -37,6 +37,7 @@
(require 'emms-info-mp3info)
(require 'emms-playlist-mode)
(require 'emms-mark)
+(require 'emms-tracktag)
(require 'format-spec)
(require 'subr-x)
@@ -138,7 +139,8 @@ See also `emms-tag-editor-default-parser'.")
(info-performer . "--TOPE")
(info-date . "--TDAT")))
("ogg" . emms-tag-editor-tag-ogg)
- ("flac" . emms-tag-editor-tag-flac))
+ ("flac" . emms-tag-editor-tag-flac)
+ ("opus" . emms-tracktag-file))
"An alist used when committing changes to tags in files.
If the external program sets tags by command line options
one-by-one, then the list should like: