summaryrefslogtreecommitdiff
path: root/tidal_dl_ng/helper
diff options
context:
space:
mode:
Diffstat (limited to 'tidal_dl_ng/helper')
-rw-r--r--tidal_dl_ng/helper/path.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tidal_dl_ng/helper/path.py b/tidal_dl_ng/helper/path.py
index 6ed8020..9e8cccb 100644
--- a/tidal_dl_ng/helper/path.py
+++ b/tidal_dl_ng/helper/path.py
@@ -364,6 +364,10 @@ def _format_ids(
# Handle ISRC
elif name == "isrc" and isinstance(media, Track):
return media.isrc
+ elif name == "album_artist_id" and isinstance(media, Album):
+ return str(media.artist.id)
+ elif name == "track_artist_id" and isinstance(media, Track):
+ return str(media.album.artist.id)
return None