mirror of
https://github.com/fergalmoran/picard.git
synced 2026-02-24 08:33:59 +00:00
Ignore non-ASCII characters in the UFID frame
This commit is contained in:
@@ -200,7 +200,7 @@ class ID3File(File):
|
||||
name += ':%s' % frame.desc
|
||||
metadata.add(name, unicode(frame.text))
|
||||
elif frameid == 'UFID' and frame.owner == 'http://musicbrainz.org':
|
||||
metadata['musicbrainz_trackid'] = unicode(frame.data)
|
||||
metadata['musicbrainz_trackid'] = frame.data.decode('ascii', 'ignore')
|
||||
elif frameid == 'TRCK':
|
||||
value = frame.text[0].split('/')
|
||||
if len(value) > 1:
|
||||
|
||||
Reference in New Issue
Block a user