summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlok Saboo <arsaboo@gmx.com>2023-11-11 21:35:14 -0500
committerAlok Saboo <arsaboo@gmx.com>2023-11-11 21:35:14 -0500
commit7952f0a71d4089f3953bbdbd7ed32807fb07b7e4 (patch)
tree04a789c54002fb23b816b9d21e4eee5c5a8fb7f0
parent263796d194e7ab4f4832a1b966ab7959b9699a75 (diff)
Also obtain track ISRC
-rw-r--r--beetsplug/spotify.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/beetsplug/spotify.py b/beetsplug/spotify.py
index 5fc35fe9d..6b4be1dbd 100644
--- a/beetsplug/spotify.py
+++ b/beetsplug/spotify.py
@@ -338,6 +338,7 @@ class SpotifyPlugin(MetadataSourcePlugin, BeetsPlugin):
medium_index=track_data["track_number"],
data_source=self.data_source,
data_url=track_data["external_urls"]["spotify"],
+ isrc=track_data["external_ids"].get("isrc"),
)
def track_for_id(self, track_id=None, track_data=None):