From d85579ae5095c4b4547d6feb9fb3c86c0aa34946 Mon Sep 17 00:00:00 2001 From: Nirvana Date: Sun, 22 Feb 2026 21:09:00 +0100 Subject: [PATCH] Add discovery --- .../providers/discovery/provider.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/lib/streaming_providers/providers/discovery/provider.py b/lib/streaming_providers/providers/discovery/provider.py index 5519241..2f23a84 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 - include must be 'default' only; decorators handle the rest + # Fetch home route with all needed includes url = self.authenticator.cms_home_endpoint params = { "include": CMS_INCLUDE_PARAMS, @@ -423,8 +423,12 @@ class DiscoveryProvider(StreamingProvider): "debug": {}, "device": {}, "googlePALNonce": google_pal_nonce, - "isLimitedAdTracking": 0, - "nielsenAppId": "", + "server": { + "deviceId": "", + "iabTCFString": "", + "isLimitedAdTracking": 0, + "nielsenAppId": "", + }, "ssaiProvider": {"version": "2.2.0"}, }, "consumptionType": "streaming",