Files
script.service.ultimate/lib/streaming_providers/base/ui/__init__.py
T
2025-11-13 16:36:39 +01:00

31 lines
1.0 KiB
Python

# ============================================================================
# FILE 1: streaming_providers/base/ui/__init__.py
# ============================================================================
"""
UI notification system for streaming providers
Provides adapters for different UI environments (Kodi, console, web, etc.)
"""
from .notification_interface import NotificationInterface, NotificationResult
from .notification_factory import NotificationFactory
# Conditional imports - only import if environment supports them
try:
from .kodi_notification_adapter import KodiNotificationAdapter
__all__ = [
'NotificationInterface',
'NotificationResult',
'NotificationFactory',
'KodiNotificationAdapter',
'ConsoleNotificationAdapter'
]
except ImportError:
# Kodi not available
__all__ = [
'NotificationInterface',
'NotificationResult',
'NotificationFactory',
'ConsoleNotificationAdapter'
]
from .console_notification_adapter import ConsoleNotificationAdapter