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.
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user