summaryrefslogtreecommitdiff
path: root/tidal_dl_ng/model
diff options
context:
space:
mode:
authorRobert Honz <exislow+github@gmail.com>2024-12-16 08:14:39 +0100
committerRobert Honz <exislow+github@gmail.com>2024-12-16 08:14:39 +0100
commit107afd5e3a4e756ed55105bdced3b540966e197e (patch)
treebe9ec9e311174b51344cd9de58acd1ddc0fae438 /tidal_dl_ng/model
parent8d5af178f2d0d768ba69f7a37bf5bd1b4475fd67 (diff)
downloadtidal-dl-ng-107afd5e3a4e756ed55105bdced3b540966e197e.tar.gz
✨ Config options created for symlinking tracks and playlist creation.
Diffstat (limited to 'tidal_dl_ng/model')
-rw-r--r--tidal_dl_ng/model/cfg.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tidal_dl_ng/model/cfg.py b/tidal_dl_ng/model/cfg.py
index 88636f1..557371a 100644
--- a/tidal_dl_ng/model/cfg.py
+++ b/tidal_dl_ng/model/cfg.py
@@ -42,6 +42,8 @@ class Settings:
download_delay_sec_max: float = 5.0
album_track_num_pad_min: int = 1
downloads_concurrent_max: int = 3
+ symlink_to_track: bool = False
+ playlist_create: bool = False
@dataclass_json
@@ -90,6 +92,11 @@ class HelpSettings:
"Minimum length of the album track count, will be padded with zeroes (0). To disable padding set this to 1."
)
downloads_concurrent_max: str = "Maximum concurrent number of downloads (threads)."
+ symlink_to_track: str = (
+ "If enabled the tracks of albums, playlists and mixes will be downloaded to the track directory but symlinked "
+ "accordingly."
+ )
+ playlist_create: str = "Creates a '_playlist.m3u8' file for downloaded albums, playlists and mixes."
@dataclass_json