diff --git a/beetsplug/spotify.py b/beetsplug/spotify.py index d8d7637d6..0af0dc9aa 100644 --- a/beetsplug/spotify.py +++ b/beetsplug/spotify.py @@ -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: diff --git a/docs/changelog.rst b/docs/changelog.rst index 0252104fe..9871d8305 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -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: