Merge pull request #3343 from rhlahuja/spotify-year-unpack

Fix handling of Spotify year-only release dates
This commit is contained in:
Adrian Sampson 2019-08-03 22:40:12 -04:00
commit 5d6366a92d
2 changed files with 4 additions and 2 deletions

View file

@ -173,7 +173,7 @@ class SpotifyPlugin(BeetsPlugin):
year, month = date_parts
day = None
elif release_date_precision == 'year':
year = date_parts
year = date_parts[0]
month = None
day = None
else:

View file

@ -80,8 +80,10 @@ Fixes:
* :doc:`plugins/replaygain`: Fix the storage format in R128 gain tags.
:bug:`3311` :bug:`3314`
* :doc:`/plugins/discogs`: Fixed a crash that occurred when the Master URI
isn't set
isn't set.
:bug:`2965` :bug:`3239`
* :doc:`/plugins/spotify`: Fix handling of year-only release dates
returned by Spotify Albums API.
For plugin developers: