summaryrefslogtreecommitdiff
path: root/tidal_dl_ng/model
diff options
context:
space:
mode:
authorRobert Honz <exislow+github@gmail.com>2025-10-17 12:06:25 +0200
committerRobert Honz <exislow+github@gmail.com>2025-10-17 12:06:25 +0200
commit5da1855028b4519fd284fa55ae7b38390cbde62f (patch)
tree4f75256191e0671722437199940230c24f50ba32 /tidal_dl_ng/model
parent8ebb84bf2ed2c8ac277dd83cd1d645dfb86ecef3 (diff)
downloadtidal-dl-ng-5da1855028b4519fd284fa55ae7b38390cbde62f.tar.gz
feat(metadata): ✨ add customizable metadata delimiters for artists
* Introduced `metadata_delimiter_artist` and `metadata_delimiter_album_artist` settings. * Updated `name_builder_artist` and `name_builder_album_artist` functions to utilize the new delimiters. * This allows users to specify their preferred delimiter for artist names in metadata.
Diffstat (limited to 'tidal_dl_ng/model')
-rw-r--r--tidal_dl_ng/model/cfg.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tidal_dl_ng/model/cfg.py b/tidal_dl_ng/model/cfg.py
index c283ee7..22e8aa8 100644
--- a/tidal_dl_ng/model/cfg.py
+++ b/tidal_dl_ng/model/cfg.py
@@ -50,6 +50,8 @@ class Settings:
window_y: int = 50
window_w: int = 1200
window_h: int = 800
+ metadata_delimiter_artist: str = "; "
+ metadata_delimiter_album_artist: str = "; "
@dataclass_json
@@ -109,6 +111,8 @@ class HelpSettings:
window_y: str = "Y-Coordinate of saved window location."
window_w: str = "Width of saved window size."
window_h: str = "Height of saved window size."
+ metadata_delimiter_artist: str = "Metadata tag delimiter for multiple artists. Default: '; '"
+ metadata_delimiter_album_artist: str = "Metadata tag delimiter for multiple album artists. Default: '; '"
@dataclass_json