summaryrefslogtreecommitdiff
path: root/tidal_dl_ng/config.py
diff options
context:
space:
mode:
authorRobert Honz <exislow+github@gmail.com>2025-10-22 21:52:20 +0200
committerRobert Honz <exislow+github@gmail.com>2025-10-22 21:52:20 +0200
commit8f0c784187e55a7cd1015222a4347bf3fda14e90 (patch)
treef5d69982ca792e0c6661c1878473369dbea3b164 /tidal_dl_ng/config.py
parentb485292807a5c7f6c108acc63987bc28cc2c7624 (diff)
downloadtidal-dl-ng-8f0c784187e55a7cd1015222a4347bf3fda14e90.tar.gz
refactor(gui): ✨ update album download options and improve session validation
* Added a new action to download all albums in a playlist. * Removed the deprecated `validate_session` method and replaced it with a direct call to `self.tidal.session.check_login()`. * Adjusted the UI layout in `dialog_settings` to accommodate new options and improved sizing.
Diffstat (limited to 'tidal_dl_ng/config.py')
-rw-r--r--tidal_dl_ng/config.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/tidal_dl_ng/config.py b/tidal_dl_ng/config.py
index f41f314..1ba8c8c 100644
--- a/tidal_dl_ng/config.py
+++ b/tidal_dl_ng/config.py
@@ -224,14 +224,6 @@ class Tidal(BaseConfig, metaclass=SingletonMeta):
return True
- def validate_session(self) -> bool:
- """Validate that the TIDAL session is still authenticated.
-
- Returns:
- bool: True if session is valid, False otherwise.
- """
- return self.session.check_login()
-
def is_authentication_error(self, error: Exception) -> bool:
"""Check if an error is related to authentication/OAuth issues.