From b3c5c79ceb9d2e0deef55b46fdab270043762c87 Mon Sep 17 00:00:00 2001 From: Robert Honz Date: Mon, 5 Feb 2024 19:58:54 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Client=20ID=20will=20be=20swapped?= =?UTF-8?q?=20in=20order=20to=20get=20the=20correct=20HiRes=20Lossless=20t?= =?UTF-8?q?oken=20after=20refresh.=20Addresses=20#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