mirror of
https://github.com/fergalmoran/picard.git
synced 2026-02-23 08:06:46 +00:00
Fixes ticket #5938 (relationships are entered twice (release <-> recording))
This commit is contained in:
@@ -87,7 +87,8 @@ def _relations_to_metadata(relation_lists, m, config):
|
||||
name = _artist_rel_types[reltype]
|
||||
except KeyError:
|
||||
continue
|
||||
m.add(name, value)
|
||||
if value not in m[name]:
|
||||
m.add(name, value)
|
||||
elif relation_list.target_type == 'work':
|
||||
for relation in relation_list.relation:
|
||||
if relation.type == 'performance':
|
||||
|
||||
Reference in New Issue
Block a user