2
0
Fork 0

use album artist for path instead of track artist

This commit is contained in:
Luca Bilke 2023-06-27 20:24:59 +02:00
parent 03c3268e5c
commit 87a4f218d7
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ def download_track(
try:
album_name = re.sub("/", " ", track.album.name) # type: ignore[reportOptionalMemberAccess]
track_name = re.sub("/", " ", track.name) # type: ignore[reportOptionalMemberAccess]
artist_name = re.sub("/", " ", track.artist.name) # type: ignore[reportOptionalMemberAccess]
artist_name = re.sub("/", " ", track.album.artist.name) # type: ignore[reportOptionalMemberAccess]
dl_path = f"{DL_PATH}/{track.track_num} {track_name}.part" # type: ignore[reportOptionalMemberAccess]
dest_path = f"{DEST_PATH}/{artist_name}/{album_name}/{track.track_num} {track_name}" # type: ignore[reportOptionalMemberAccess]