Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Genre value for ID3TagV1 must be int when the current value is already a string #9

Open
trydalch opened this issue Jan 15, 2020 · 0 comments

Comments

@trydalch
Copy link

Attempting to change the genre value results in two bugs. This is bug 1 of 2.

Even though the current tag value for genre is a string, the MP3File object doesn't allow assigning a string value to the genre tag. Spits out this error:

    mp3.genre = genre
  File "C:\Users\**\Programs\Python\Python38-32\lib\site-packages\mp3_tagger\mp3.py", line 46, in wrapper
    tag.value = val
  File "C:\Users\**\Programs\Python\Python38-32\lib\site-packages\mp3_tagger\id3.py", line 90, in value
    raise TagSetError('Genre value for ID3TagV1 must be int')
mp3_tagger.exceptions.TagSetError: Genre value for ID3TagV1 must be int```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant