Comment 2 for bug 1758537

Revision history for this message
Moses Moore (moses-ubuntu) wrote :

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']"