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

ValueError from bad audio tags #1506

jmsaaren opened this issue May 8, 2016 · 2 comments

ValueError from bad audio tags #1506

jmsaaren opened this issue May 8, 2016 · 2 comments


Copy link

@jmsaaren jmsaaren commented May 8, 2016


def convert_taglist(taglist):
date =
value.get_year(), value.get_month(), value.get_day())

This raises a ValueError that is not catched when audio track has badly set year.
I suggest that if the year exceeds datetime.MAXYEAR then use datetime.MAXYEAR or 0 as the audio itself is probably not broken.

@jodal jodal added the C-bug label May 9, 2016
@jodal jodal added this to the v2.0.1 - Bug fixes milestone May 9, 2016
Copy link

@sticken88 sticken88 commented May 11, 2016

Could you please write the steps to reproduce it?

Copy link

@palfrey palfrey commented Jun 10, 2016

I've just created a PR #1525 that reproduces this problem in a test and fixes it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants