Introduce %c (release disambiguation comment) template variable

Signed-off-by: JoeLametta <JoeLametta@users.noreply.github.com>
This commit is contained in:
JoeLametta
2021-05-15 16:37:16 +00:00
parent bff5c91fa3
commit e6ad23f119
5 changed files with 10 additions and 2 deletions

View File

@@ -178,6 +178,7 @@ class Program:
* ``%S``: release artist sort name
* ``%B``: release barcode
* ``%C``: release catalog number
* ``%c``: release disambiguation comment
* ``%d``: release title (with disambiguation)
* ``%D``: disc title (without disambiguation)
* ``%I``: MusicBrainz Disc ID
@@ -216,6 +217,7 @@ class Program:
v['D'] = metadata.title
v['B'] = metadata.barcode
v['C'] = metadata.catalogNumber
v['c'] = metadata.releaseDisambCmt
if metadata.releaseType:
v['R'] = metadata.releaseType
v['r'] = metadata.releaseType.lower()