mirror of
https://github.com/nirvana-7777/script.service.ultimate.git
synced 2026-09-23 09:32:22 +02:00
Add epg_window
This commit is contained in:
@@ -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 []
|
||||
|
||||
Reference in New Issue
Block a user