From 309ded73e475006ef9b04d2461ce4de8cf4cbd98 Mon Sep 17 00:00:00 2001 From: Robert Honz Date: Tue, 25 Mar 2025 21:22:35 +0100 Subject: 🛠️ Fix: Only re-create media item if it is a track. Fixes #386 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tidal_dl_ng/download.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tidal_dl_ng/download.py b/tidal_dl_ng/download.py index f5d9ad4..b3e7d3e 100644 --- a/tidal_dl_ng/download.py +++ b/tidal_dl_ng/download.py @@ -343,7 +343,7 @@ class Download: ) return False, "" - else: + elif isinstance(media, Track): # Re-create media instance with full album information media = self.session.track(media.id, with_album=True) elif not media: -- cgit v1.3.1