From f0a0556e2c49234de1767488cf2080100d4cd7ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Lalinsk=C3=BD?= Date: Sun, 4 Mar 2007 18:33:51 +0100 Subject: [PATCH] Using of 'performed by' AR types (without instrument or vocal). --- NEWS.txt | 6 ++++++ picard/mbxml.py | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/NEWS.txt b/NEWS.txt index 0781ac3d7..c191604d7 100644 --- a/NEWS.txt +++ b/NEWS.txt @@ -1,3 +1,9 @@ +Version 0.9.0alpha3 - 2007-03-XX + * New Features: + * Using of 'performed by' AR types (without instrument or vocal). + * Bug Fixes: + * Fixed file clustering. + Version 0.9.0alpha2 - 2007-03-04 * New Features: * New variable %_extension% (#2447) diff --git a/picard/mbxml.py b/picard/mbxml.py index f1127c789..146e5c78c 100644 --- a/picard/mbxml.py +++ b/picard/mbxml.py @@ -24,7 +24,7 @@ from picard.util import format_time _artist_rel_types = { "Composer": "composer", - "Conductor": "conductor", + "Conductor": "conductor", "PerformingOrchestra": "ensemble", "Arranger": "arranger", "Orchestrator": "arranger", @@ -71,6 +71,8 @@ def _relations_to_metadata(relation_lists, m): name = 'performer:' + ' '.join([_parse_attributes(attribs), 'vocal']) elif reltype == 'Instrument': name = 'performer:' + _parse_attributes(attribs) + elif reltype == 'Performer': + name = 'performer:' else: try: name = _artist_rel_types[relation.type]