X-Git-Url: https://git.draconx.ca/gitweb/picard-plugins.git/blobdiff_plain/a00d123297b1cc025f381fda3474dbc0d96e077a..031be6cdea38a8982d5df850c0c28d2b834d639a:/karaoke-flagger.py diff --git a/karaoke-flagger.py b/karaoke-flagger.py new file mode 100644 index 0000000..13abe78 --- /dev/null +++ b/karaoke-flagger.py @@ -0,0 +1,43 @@ +# -*- coding: utf-8 -*- +# +# Copyright © 2019 Nick Bowler +# +# License GPLv3+: GNU General Public License version 3 or any later version. +# This is free software: you are free to change and redistribute it. +# There is NO WARRANTY, to the extent permitted by law. + +PLUGIN_NAME = u"Karaoke Flagger" +PLUGIN_AUTHOR = u"Nick Bowler" +PLUGIN_DESCRIPTION = u'''
This plugin sets a metadata variable for recordings +with the "karaoke version of" relation, so that tagger scripts can incorporate +this fact into file tags.
+ +The metadata variable %_karaoke%
will be set to "yes" on
+karaoke tracks, and left unset otherwise. So a tagger script might use
+$if(%_karaoke%,$set(comment:karaoke,%_karaoke%))
, for example,
+to embed that into the file's comment tag.