from django.urls import path from . import views app_name = 'vod_proxy' urlpatterns = [ # Generic VOD streaming with session ID in path (for compatibility) path('//', views.VODStreamView.as_view(), name='vod_stream_with_session'), path('////', views.VODStreamView.as_view(), name='vod_stream_with_session_and_profile'), # Generic VOD streaming (supports movies, episodes, series) - legacy patterns path('/', views.VODStreamView.as_view(), name='vod_stream'), path('///', views.VODStreamView.as_view(), name='vod_stream_with_profile'), # VOD playlist generation path('playlist/', views.VODPlaylistView.as_view(), name='vod_playlist'), path('playlist//', views.VODPlaylistView.as_view(), name='vod_playlist_with_profile'), # Position tracking path('position//', views.VODPositionView.as_view(), name='vod_position'), # VOD Stats path('stats/', views.VODStatsView.as_view(), name='vod_stats'), # Stop VOD client connection path('stop_client/', views.stop_vod_client, name='stop_vod_client'), ]