mirror of
https://github.com/beetbox/beets.git
synced 2026-01-09 17:33:51 +01:00
Fix year assignment with year-only release date
This commit is contained in:
parent
3275081d09
commit
7ec3632309
2 changed files with 4 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue