From 1137fe26596f6be069021998d1d161aa5e44fe6b Mon Sep 17 00:00:00 2001 From: Robert Honz Date: Thu, 1 Feb 2024 20:10:14 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Rename=20lyrics=20option=20and=20ad?= =?UTF-8?q?d=20lyrics=20to=20file=20options.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tidal_dl_ng/download.py | 2 +- tidal_dl_ng/model/cfg.py | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/tidal_dl_ng/download.py b/tidal_dl_ng/download.py index fb7db37..04ba1f7 100644 --- a/tidal_dl_ng/download.py +++ b/tidal_dl_ng/download.py @@ -269,7 +269,7 @@ class Download: isrc: str = track.isrc if hasattr(track, "isrc") and track.isrc else "" lyrics: str = "" - if self.settings.data.lyrics_save: + if self.settings.data.lyrics_embed: # Try to retrieve lyrics. try: lyrics: str = track.lyrics().subtitles if hasattr(track, "lyrics") else "" diff --git a/tidal_dl_ng/model/cfg.py b/tidal_dl_ng/model/cfg.py index 9fc4170..0af7f84 100644 --- a/tidal_dl_ng/model/cfg.py +++ b/tidal_dl_ng/model/cfg.py @@ -12,7 +12,8 @@ class Settings: skip_existing: SkipExisting = SkipExisting.Disabled # TODO: Implement cover download to a separate file. # album_cover_save: bool = True - lyrics_save: bool = False + lyrics_embed: bool = False + lyrics_file: bool = False # TODO: Implement API KEY selection. # api_key_index: bool = 0 # TODO: Implement album info download to separate file. @@ -41,7 +42,8 @@ class HelpSettings: "different file extension exists." ) album_cover_save: str = "Safe cover to album folder." - lyrics_save: str = "Safe lyrics to audio file." + lyrics_embed: str = "Embed lyrics in audio file." + lyrics_file: str = "Save lyrics to separate *.lrc file." api_key_index: str = "Set the device API KEY." album_info_save: str = "Save album info to track?" video_download: str = "Allow download of videos."