I thought it might be because 'WXXX' is for freeform url data, so I used a more official frame 'WOAS'. The frame name wasn't munged, but the value was:
$ mid3v2 --WOAS 'https://ubuntu.org' example.mp3 $ mid3v2 -l example.mp3 ... WOAS=[u'https://ubuntu.org']
and when using mutagen directly:
>>> import mutagen >>> f = mutagen.File('example.mp3') >>> f.tags['WOAS'] WOAS(url="[u'https://ubuntu.org']") >>> str(f.tags['WOAS']) "[u'https://ubuntu.org']" >>> f.tags['WOAS'].url "[u'https://ubuntu.org']"
I thought it might be because 'WXXX' is for freeform url data, so I used a more official frame 'WOAS'. The frame name wasn't munged, but the value was:
$ mid3v2 --WOAS 'https:/ /ubuntu. org' example.mp3 /ubuntu. org']
$ mid3v2 -l example.mp3
...
WOAS=[u'https:/
and when using mutagen directly:
>>> import mutagen File('example. mp3') /ubuntu. org']") /ubuntu. org']" /ubuntu. org']"
>>> f = mutagen.
>>> f.tags['WOAS']
WOAS(url="[u'https:/
>>> str(f.tags['WOAS'])
"[u'https:/
>>> f.tags['WOAS'].url
"[u'https:/