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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1758537

Title:
  mid3v2 mangles data before adding to ID3v2 tags

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mutagen/+bug/1758537/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to