From ce757055a1303efd5238d5aeb4c796a505aa2bd9 Mon Sep 17 00:00:00 2001 From: Nirvana Date: Sun, 22 Feb 2026 19:25:57 +0100 Subject: [PATCH] Add discovery --- lib/streaming_providers/providers/discovery/constants.py | 2 +- lib/streaming_providers/providers/discovery/provider.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/streaming_providers/providers/discovery/constants.py b/lib/streaming_providers/providers/discovery/constants.py index 7b20a78..6a644a5 100644 --- a/lib/streaming_providers/providers/discovery/constants.py +++ b/lib/streaming_providers/providers/discovery/constants.py @@ -101,7 +101,7 @@ DEFAULT_COUNTRY: Final[str] = "de" # CMS Configuration # ============================================================================ -CMS_INCLUDE_PARAMS: Final[str] = "default,viewingHistory,isFavorite,contentAction,badges" +CMS_INCLUDE_PARAMS: Final[str] = "default" CMS_PAGE_SIZE: Final[int] = 50 # Known collection IDs for TV channels (will be discovered dynamically, but these are fallbacks) diff --git a/lib/streaming_providers/providers/discovery/provider.py b/lib/streaming_providers/providers/discovery/provider.py index fbcb3db..5519241 100644 --- a/lib/streaming_providers/providers/discovery/provider.py +++ b/lib/streaming_providers/providers/discovery/provider.py @@ -287,7 +287,7 @@ class DiscoveryProvider(StreamingProvider): try: headers = self._get_auth_headers() - # Fetch home route with all needed includes + # Fetch home route - include must be 'default' only; decorators handle the rest url = self.authenticator.cms_home_endpoint params = { "include": CMS_INCLUDE_PARAMS,