Files
2026-01-06 16:41:03 +01:00

33 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_factory import NotificationFactory
from .notification_interface import NotificationInterface, NotificationResult
# 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