mp3-tagger icon indicating copy to clipboard operation
mp3-tagger copied to clipboard

Genre tag doesn't support setting with VERSION_BOTH

Open trydalch opened this issue 5 years ago • 1 comments

Even though the tag is in both V1 and V2 tags, setting genre is not supported with VERSION_BOTH is set.

The other tags either support this, or don't throw an exception when attempted.

trydalch avatar Jan 15 '20 07:01 trydalch

Possibly related; writing genre to a file creates corrupt v1 tags. This file did not previously contain v1 tags:

    mp3 = m.MP3File(f)
    mp3.genre = '...'
    mp3.set_version(m.VERSION_2)
    mp3.save()

Tag 1: ID3v1.1
  Title         ªªªªªªªªªªªªªªªªªªªªªÿûdÝð
  Artist        i
  Album         ªªªªªªªªªªªªªªªªªªªªªªªªªªªªªª
  Comment       ªªªªªªªªªªªªªªªªªªªªªªªªªªªª
  Track Number  170
  Genre         Leftfield

hejops avatar Mar 26 '21 18:03 hejops