From b07c3374b24073ba3953797be9d5ecd13af3a482 Mon Sep 17 00:00:00 2001 From: Robert Honz Date: Sun, 21 Apr 2024 19:18:05 +0200 Subject: ✨ FLAC can be extracted from MP4 containers (see options). Downgrade on HI_RES download is possible (see options). Fixes #93 #86 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tidal_dl_ng/model/cfg.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tidal_dl_ng/model') diff --git a/tidal_dl_ng/model/cfg.py b/tidal_dl_ng/model/cfg.py index 7910644..0b24854 100644 --- a/tidal_dl_ng/model/cfg.py +++ b/tidal_dl_ng/model/cfg.py @@ -35,6 +35,8 @@ class Settings: video_convert_mp4: bool = True path_binary_ffmpeg: str = "" metadata_cover_dimension: CoverDimensions = CoverDimensions.Px320 + extract_flac: bool = True + downgrade_on_hi_res: bool = False @dataclass_json @@ -74,6 +76,10 @@ class HelpSettings: metadata_cover_dimension: str = ( "The dimensions of the cover image embedded into the track. Possible values: 320x320, 640x640x 1280x1280." ) + extract_flac: str = "Extract FLAC audio tracks from MP4 containers and save them as `*.flac` (uses FFmpeg)." + downgrade_on_hi_res: bool = ( + "Never download HI_RES (MQA) quality. Downgrade to the next best available quality instead." + ) @dataclass_json -- cgit v1.3.1