summaryrefslogtreecommitdiff
path: root/tidal_dl_ng/model
diff options
context:
space:
mode:
authorexislow <exislow@users.noreply.github.com>2024-11-11 12:08:44 +0100
committerGitHub <noreply@github.com>2024-11-11 12:08:44 +0100
commit4cef07b08f16410f56fa53a34884ce3b5dd6b64e (patch)
tree9576c99fa4dba32b3a8bb078fd4801cc8548ff8c /tidal_dl_ng/model
parent6732c5e15e3e72b0b671f5a5d60dbd482c184173 (diff)
parent4d2048acbdba035153b52aa83d9dc52d65858a0c (diff)
downloadtidal-dl-ng-4cef07b08f16410f56fa53a34884ce3b5dd6b64e.tar.gz
Merge pull request #226 from exislow/gui-enhancement
Gui enhancement
Diffstat (limited to 'tidal_dl_ng/model')
-rw-r--r--tidal_dl_ng/model/cfg.py6
-rw-r--r--tidal_dl_ng/model/gui_data.py1
2 files changed, 5 insertions, 2 deletions
diff --git a/tidal_dl_ng/model/cfg.py b/tidal_dl_ng/model/cfg.py
index 2c00438..fae3590 100644
--- a/tidal_dl_ng/model/cfg.py
+++ b/tidal_dl_ng/model/cfg.py
@@ -10,8 +10,6 @@ from tidal_dl_ng.constants import CoverDimensions, QualityVideo, SkipExisting
@dataclass
class Settings:
skip_existing: SkipExisting = SkipExisting.Disabled
- # TODO: Implement cover download to a separate file.
- # album_cover_save: bool = True
lyrics_embed: bool = False
lyrics_file: bool = False
# TODO: Implement API KEY selection.
@@ -36,6 +34,8 @@ class Settings:
video_convert_mp4: bool = True
path_binary_ffmpeg: str = ""
metadata_cover_dimension: CoverDimensions = CoverDimensions.Px320
+ metadata_cover_embed: bool = True
+ cover_album_file: bool = True
extract_flac: bool = True
@@ -79,6 +79,8 @@ class HelpSettings:
metadata_cover_dimension: str = (
"The dimensions of the cover image embedded into the track. Possible values: 320x320, 640x640x 1280x1280."
)
+ metadata_cover_embed: str = "Embed album cover into file."
+ 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)."
diff --git a/tidal_dl_ng/model/gui_data.py b/tidal_dl_ng/model/gui_data.py
index 8c7c30e..186ed98 100644
--- a/tidal_dl_ng/model/gui_data.py
+++ b/tidal_dl_ng/model/gui_data.py
@@ -28,6 +28,7 @@ class ResultItem:
obj: object
quality: str
explicit: bool
+ date_user_added: str
@dataclass