mirror of
https://github.com/beetbox/beets.git
synced 2025-12-25 01:53:31 +01:00
Fix spotify_updated bug
This commit is contained in:
parent
44a7cc74bf
commit
85b500e41a
1 changed files with 1 additions and 2 deletions
|
|
@ -19,7 +19,6 @@ Spotify playlist construction.
|
|||
|
||||
import base64
|
||||
import collections
|
||||
import datetime
|
||||
import json
|
||||
import re
|
||||
import time
|
||||
|
|
@ -648,7 +647,7 @@ class SpotifyPlugin(MetadataSourcePlugin, BeetsPlugin):
|
|||
if feature in self.spotify_audio_features.keys():
|
||||
item[self.spotify_audio_features[feature]] = \
|
||||
audio_features[feature]
|
||||
item['spotify_updated'] = datetime.datetime.now()
|
||||
item['spotify_updated'] = time.time()
|
||||
item.store()
|
||||
if write:
|
||||
item.try_write()
|
||||
|
|
|
|||
Loading…
Reference in a new issue