Add epg_window

This commit is contained in:
Nirvana
2026-04-19 16:45:33 +02:00
parent c12b1ff88d
commit e00936f93d
+10
View File
@@ -206,6 +206,16 @@ class StreamingProvider(ABC):
"""
return 0, 0
@property
def implements_epg(self) -> bool:
"""
Check if provider implements EPG.
Returns:
bool: True if any EPG data is available (past or future)
"""
return self.epg_window != (0, 0)
def get_channels(self, **kwargs) -> List[StreamingChannel]:
"""Fetch channels from the provider"""
return []