mirror of
https://github.com/beetbox/beets.git
synced 2025-12-26 18:43:38 +01:00
Update beetsplug/spotify.py
Co-authored-by: Adrian Sampson <adrian@radbox.org>
This commit is contained in:
parent
d313da2765
commit
39600bcbbb
1 changed files with 1 additions and 2 deletions
|
|
@ -612,8 +612,7 @@ class SpotifyPlugin(MetadataSourcePlugin, BeetsPlugin):
|
|||
requests.get, self.track_url + track_id
|
||||
)
|
||||
self._log.debug('track_data: {}', track_data['popularity'])
|
||||
track_popularity = track_data['popularity']
|
||||
return track_popularity
|
||||
return track_data['popularity']
|
||||
|
||||
def track_audio_features(self, track_id=None):
|
||||
"""Fetch track audio features by its Spotify ID."""
|
||||
|
|
|
|||
Loading…
Reference in a new issue