summaryrefslogtreecommitdiff
path: root/tidal_dl_ng/model
diff options
context:
space:
mode:
authorWinman486 <harpsystems@gmail.com>2025-10-20 16:12:46 -0500
committerWinman486 <harpsystems@gmail.com>2025-10-20 16:12:46 -0500
commit3c835c2d196f02871a1be23430223538bf2cd226 (patch)
tree8d021fa04776f7bf67911dd4fd54a3e6f3dc912b /tidal_dl_ng/model
parent90ff7ea52ef7dd3c02afc313da4682b1fcb799eb (diff)
parent0afd65c89b9033a5a9505dc193699396666e16f2 (diff)
downloadtidal-dl-ng-3c835c2d196f02871a1be23430223538bf2cd226.tar.gz
Merge upstream/master and resolve conflicts
- Resolved conflict in dialog_settings.py (kept both cb_use_primary_album_artist and cb_mark_explicit checkboxes) - Fixed code quality issues found by make check: * Removed duplicate on_download_album_from_track function (F811) * Updated isinstance calls to use X | Y syntax instead of (X, Y) (UP038) * Fixed unused loop variable album_stub (B007) * Applied automatic formatting fixes (black, prettier, trailing whitespace) - Only remaining issue is C901 complexity warning in on_download_all_albums_from_playlist (expected per maintainer feedback)
Diffstat (limited to 'tidal_dl_ng/model')
-rw-r--r--tidal_dl_ng/model/cfg.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/tidal_dl_ng/model/cfg.py b/tidal_dl_ng/model/cfg.py
index 4797fb5..1c87992 100644
--- a/tidal_dl_ng/model/cfg.py
+++ b/tidal_dl_ng/model/cfg.py
@@ -12,7 +12,9 @@ class Settings:
skip_existing: bool = True
lyrics_embed: bool = False
lyrics_file: bool = False
- use_primary_album_artist: bool = False # When True, uses first album artist instead of track artists for folder paths
+ use_primary_album_artist: bool = (
+ False # When True, uses first album artist instead of track artists for folder paths
+ )
# TODO: Implement API KEY selection.
# api_key_index: bool = 0
# TODO: Implement album info download to separate file.
@@ -36,6 +38,7 @@ class Settings:
path_binary_ffmpeg: str = ""
metadata_cover_dimension: CoverDimensions = CoverDimensions.Px320
metadata_cover_embed: bool = True
+ mark_explicit: bool = False
cover_album_file: bool = True
extract_flac: bool = True
downloads_simultaneous_per_track_max: int = 20
@@ -96,6 +99,7 @@ class HelpSettings:
"The dimensions of the cover image embedded into the track. Possible values: 320x320, 640x640x 1280x1280."
)
metadata_cover_embed: str = "Embed album cover into file."
+ mark_explicit: str = "Mark explicit tracks with '🅴' in track title (only applies to metadata)."
cover_album_file: str = "Save cover to 'cover.jpg', if an album is downloaded."
extract_flac: str = "Extract FLAC audio tracks from MP4 containers and save them as `*.flac` (uses FFmpeg)."
downloads_simultaneous_per_track_max: str = "Maximum number of simultaneous chunk downloads per track."