mirror of
https://github.com/fergalmoran/picard.git
synced 2026-02-27 18:13:58 +00:00
Merge pull request #302 from Sophist-UK/sophist_enhance_#285
Use multi-value %_performance_attributes% ...
This commit is contained in:
3
NEWS.txt
3
NEWS.txt
@@ -43,7 +43,8 @@
|
||||
* Add checkbox to toggle debug at runtime in log/debug view dialog
|
||||
* Add a plugin to add Artist Official Homepage relationships to the website tag (ID3 WOAR tag)
|
||||
* Add integrated functions $eq_any, $ne_all, $eq_all, $ne_any, $swapprefix and $delprefix.
|
||||
* Add %_performance_live%, %_performance_cover% etc. if track is shown as live, cover etc. in the MB database.
|
||||
* Add %_performance_attributes%, containing performance attributes for the work e.g. live, cover, medley etc.
|
||||
Use $inmulti in file naming scripts i.e. ...$if($inmulti(%_performance_attributes%,medley), (Medley),)
|
||||
|
||||
|
||||
Version 1.2 - 2013-03-30
|
||||
|
||||
@@ -273,7 +273,7 @@ def performance_to_metadata(relation, m):
|
||||
if 'attribute_list' in relation.children:
|
||||
if 'attribute' in relation.attribute_list[0].children:
|
||||
for attribute in relation.attribute_list[0].attribute:
|
||||
m["~performance_%s" % attribute.text] = "1"
|
||||
m.add_unique("~performance_attributes", attribute.text)
|
||||
|
||||
|
||||
def work_to_metadata(work, m):
|
||||
|
||||
Reference in New Issue
Block a user