Skip to content

Fix handling of Spotify year-only release dates - #3343

Merged
sampsyo merged 1 commit into
beetbox:masterfrom
rhlahuja:spotify-year-unpack
Aug 4, 2019
Merged

Fix handling of Spotify year-only release dates#3343
sampsyo merged 1 commit into
beetbox:masterfrom
rhlahuja:spotify-year-unpack

Conversation

@rhlahuja

@rhlahuja rhlahuja commented Aug 4, 2019

Copy link
Copy Markdown
Contributor

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

sampsyo commented Aug 4, 2019

Copy link
Copy Markdown
Member

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
@snejus snejus added the spotify spotify plugin label Apr 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

spotify spotify plugin

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants