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

Fix handling of Spotify year-only release dates #3343

Merged
merged 1 commit into from
Aug 4, 2019
Merged

Fix handling of Spotify year-only release dates #3343

merged 1 commit into from
Aug 4, 2019

Conversation

rhlahuja
Copy link
Contributor

@rhlahuja rhlahuja commented Aug 4, 2019

I've had this fix in place locally for a while but forgot to submit a PR! This properly assigns the AlbumInfo.year attribute with year-only release dates returned by the Spotify Albums API and prevents a downstream sqlite3.InterfaceError when trying to insert e.g. [2019] in an INTEGER field.

@sampsyo
Copy link
Member

sampsyo commented Aug 4, 2019

Looks right to me! Thank you!! ✨

@sampsyo sampsyo merged commit 7ec3632 into beetbox:master Aug 4, 2019
sampsyo added a commit that referenced this pull request Aug 4, 2019
Fix handling of Spotify year-only release dates
sampsyo added a commit that referenced this pull request Aug 4, 2019
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

Successfully merging this pull request may close these issues.

2 participants