mirror of
https://github.com/nirvana-7777/script.service.ultimate.git
synced 2026-09-26 11:02:37 +02:00
Add discovery
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user