From b3c5c79ceb9d2e0deef55b46fdab270043762c87 Mon Sep 17 00:00:00 2001 From: Robert Honz Date: Mon, 5 Feb 2024 19:58:54 +0100 Subject: ✨ Client ID will be swapped in order to get the correct HiRes Lossless token after refresh. Addresses #31 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tidal_dl_ng/config.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tidal_dl_ng/config.py b/tidal_dl_ng/config.py index 7e93e7f..165bdc5 100644 --- a/tidal_dl_ng/config.py +++ b/tidal_dl_ng/config.py @@ -109,6 +109,8 @@ class Tidal(BaseConfig, metaclass=SingletonMeta): result = False if self.token_from_storage: + self.session.client_enable_hires() + try: result = self.session.load_oauth_session( self.data.token_type, self.data.access_token, self.data.refresh_token, self.data.expiry_time -- cgit v1.3.1