diff --git a/picard/formats/id3.py b/picard/formats/id3.py index e8eee027d..042ee3e55 100644 --- a/picard/formats/id3.py +++ b/picard/formats/id3.py @@ -123,6 +123,7 @@ class ID3File(File): 'WCOP': 'license', 'WOAR': 'website', 'COMM': 'comment', + 'TOPE': 'originalartist', # The following are informal iTunes extensions to id3v2: 'TCMP': 'compilation', @@ -432,7 +433,7 @@ class ID3File(File): if frame.FrameID in ('TMCL', 'TIPL', 'IPLS'): for people in frame.people: if people[0] == role: - frame.people.remove(people) + frame.people.remove(people) elif name.startswith('comment:'): desc = name.split(':', 1)[1] if desc.lower()[:4] != 'itun': @@ -453,7 +454,7 @@ class ID3File(File): if frame.FrameID in ('TIPL', 'IPLS'): for people in frame.people: if people[0] == role: - frame.people.remove(people) + frame.people.remove(people) elif name == 'musicbrainz_recordingid': for key, frame in tags.items(): if frame.FrameID == 'UFID' and frame.owner == 'http://musicbrainz.org': diff --git a/picard/util/tags.py b/picard/util/tags.py index 996ccfbef..e5627d26f 100644 --- a/picard/util/tags.py +++ b/picard/util/tags.py @@ -88,6 +88,7 @@ TAG_NAMES = { '~rating': N_('Rating'), 'artists': N_('Artists'), 'work': N_('Work'), + 'originalartist': N_('Original Artist'), } PRESERVED_TAGS = [