Update beetsplug/spotify.py

Co-authored-by: J0J0 Todos <2733783+JOJ0@users.noreply.github.com>
This commit is contained in:
Alok Saboo 2023-11-15 10:21:53 -05:00 committed by GitHub
parent c64df0d27a
commit 3b8cb98e6d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -687,12 +687,12 @@ class SpotifyPlugin(MetadataSourcePlugin, BeetsPlugin):
track_data.get("popularity"),
track_data.get("external_ids").get("isrc"),
)
return [
return (
track_data.get("popularity"),
track_data.get("external_ids").get("isrc"),
track_data.get("external_ids").get("ean"),
track_data.get("external_ids").get("upc"),
]
)
def track_audio_features(self, track_id=None):
"""Fetch track audio features by its Spotify ID."""