diff options
| author | exislow <exislow@users.noreply.github.com> | 2024-11-17 23:07:07 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-17 23:07:07 +0100 |
| commit | 91244c0936d8c41a99b33b1cab90b8a42d68b306 (patch) | |
| tree | efc3198fa01f917068a13b1d9cc7933d06d6c8ff | |
| parent | d4cc677bd96e477fba4cbc4384331030f6d04519 (diff) | |
| parent | 56f4522f2b3fd8558e11a97bef5e9893c7e1b3ea (diff) | |
| download | tidal-dl-ng-91244c0936d8c41a99b33b1cab90b8a42d68b306.tar.gz | |
Merge pull request #242 from exislow/239-bug-album_artist-for-format_track-of-cfg-is-not-working-properly
🛠️ Fixed `{album_artist}` tag replacement on track level. Fixes #239
| -rw-r--r-- | tidal_dl_ng/helper/path.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tidal_dl_ng/helper/path.py b/tidal_dl_ng/helper/path.py index 627f7c1..fb7bb87 100644 --- a/tidal_dl_ng/helper/path.py +++ b/tidal_dl_ng/helper/path.py @@ -79,8 +79,7 @@ def format_str_media(name: str, media: Track | Album | Playlist | UserPlaylist | elif hasattr(media, "artist"): result = media.artist.name case "album_artist": - if isinstance(media, Album): - result = name_builder_album_artist(media) + result = name_builder_album_artist(media) case "track_title": if isinstance(media, Track | Video): result = name_builder_title(media) |
