Add discovery

This commit is contained in:
Nirvana
2026-03-04 11:41:00 +01:00
parent 11d8f5293e
commit 61ab2e292b
2 changed files with 81 additions and 14 deletions
@@ -128,6 +128,17 @@ class VodOperations:
)
return manifest_url
def get_vod_drm_configs(
self, provider_name: str, vod_id: str, **kwargs
):
"""
Get DRM configs for a specific VOD item.
Delegates directly to provider.get_drm(content_id).
"""
provider = self._get_provider(provider_name)
return provider.get_drm(content_id=vod_id, **kwargs)
def get_all_vod_roots(self) -> Dict[str, List[Union[VodCategory, VodItem]]]:
"""
Get root VOD entries from all enabled providers that implement VOD.