Skip to content

Commit 309ded7

Browse files
committed
🛠️ Fix: Only re-create media item if it is a track. Fixes #386
1 parent 03cf970 commit 309ded7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tidal_dl_ng/download.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ def item(
343343
)
344344

345345
return False, ""
346-
else:
346+
elif isinstance(media, Track):
347347
# Re-create media instance with full album information
348348
media = self.session.track(media.id, with_album=True)
349349
elif not media:

0 commit comments

Comments
 (0)