summaryrefslogtreecommitdiff
path: root/tidal_dl_ng/helper/path.py
diff options
context:
space:
mode:
authorRobert Honz <exislow+github@gmail.com>2024-05-22 06:33:40 +0200
committerRobert Honz <exislow+github@gmail.com>2024-05-22 06:33:40 +0200
commit776542de5c61d207f502d6f4a961b6f3fb12e4cd (patch)
treed07fbc30b036cbbde9e644938ba842e40b6ee349 /tidal_dl_ng/helper/path.py
parent3a6bf023d772ccf32c5bd15486a13f5645bfc5f8 (diff)
downloadtidal-dl-ng-776542de5c61d207f502d6f4a961b6f3fb12e4cd.tar.gz
✨ Can download artists. Fixes #102
Diffstat (limited to 'tidal_dl_ng/helper/path.py')
-rw-r--r--tidal_dl_ng/helper/path.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tidal_dl_ng/helper/path.py b/tidal_dl_ng/helper/path.py
index e6a162e..23316d6 100644
--- a/tidal_dl_ng/helper/path.py
+++ b/tidal_dl_ng/helper/path.py
@@ -165,7 +165,7 @@ def get_format_template(
if isinstance(media, Track) or media == MediaType.TRACK:
result = settings.data.format_track
- elif isinstance(media, Album) or media == MediaType.ALBUM:
+ elif isinstance(media, Album) or media == MediaType.ALBUM or media == MediaType.ARTIST:
result = settings.data.format_album
elif isinstance(media, Playlist | UserPlaylist) or media == MediaType.PLAYLIST:
result = settings.data.format_playlist