Add discovery

This commit is contained in:
Nirvana
2026-02-17 19:50:53 +01:00
parent 82a709bb35
commit 33b95683bd
@@ -264,6 +264,11 @@ class DiscoveryAuthenticator(BaseAuthenticator):
enable_kodi_integration=True,
)
if not self.credentials:
self.credentials = self._load_credentials_from_manager()
if self.credentials:
logger.info(f"Loaded stored credentials for discovery ({country})")
# NOTE: _discover_endpoints() is NOT called here.
# Bootstrap requires an authenticated session to return correct routing,
# so it is called at the end of _perform_anonymous_auth /