Skip to content

Commit

Permalink
Merge pull request #242 from exislow/239-bug-album_artist-for-format_…
Browse files Browse the repository at this point in the history
…track-of-cfg-is-not-working-properly

🛠️ Fixed `{album_artist}` tag replacement on track level. Fixes #239
  • Loading branch information
exislow authored Nov 17, 2024
2 parents d4cc677 + 56f4522 commit 91244c0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tidal_dl_ng/helper/path.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 91244c0

Please sign in to comment.