Merge branch '41-request-song-organization'
* 41-request-song-organization: ✨ Track media items will be re-created with album information. Path format refactored. ♻️ Refactored format_str method to one `format_str_media` method. # Conflicts: # tidal_dl_ng/download.py # tidal_dl_ng/gui.py
This commit is contained in:
@@ -166,6 +166,8 @@ class Download:
|
||||
# If no media instance is provided, we need to create the media instance.
|
||||
if media_id and media_type:
|
||||
media = instantiate_media(self.session, media_type, media_id)
|
||||
elif isinstance(media, Track):
|
||||
media = self.session.track(media.id, with_album=True)
|
||||
elif not media:
|
||||
raise MediaMissing
|
||||
|
||||
|
||||
Reference in New Issue
Block a user