mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-18 17:16:26 +00:00
Some checks are pending
CI Pipeline / prepare (push) Waiting to run
CI Pipeline / docker (amd64, ubuntu-24.04) (push) Blocked by required conditions
CI Pipeline / docker (arm64, ubuntu-24.04-arm) (push) Blocked by required conditions
CI Pipeline / create-manifest (push) Blocked by required conditions
Build and Push Multi-Arch Docker Image / build-and-push (push) Waiting to run
Frontend Tests / test (push) Waiting to run
- Removed dead VOD URL routes: `VODPlaylistView` (playlist generation), `VODPositionView` (position tracking), and the class-based `VODStatsView` (replaced by the existing function-based `vod_stats` view). - Removed dead `updateVODPosition()` API method from `frontend/src/api.js`, which called the now-removed position tracking endpoint.
21 lines
901 B
Python
21 lines
901 B
Python
from django.urls import path
|
|
from . import views
|
|
from .views import stream_vod
|
|
|
|
app_name = 'vod_proxy'
|
|
|
|
urlpatterns = [
|
|
# Generic VOD streaming with session ID in path (for compatibility)
|
|
path('<str:content_type>/<uuid:content_id>/<str:session_id>', stream_vod, name='vod_stream_with_session'),
|
|
path('<str:content_type>/<uuid:content_id>/<str:session_id>/<int:profile_id>/', stream_vod, name='vod_stream_with_session_and_profile'),
|
|
|
|
# Generic VOD streaming (supports movies, episodes, series) - legacy patterns
|
|
path('<str:content_type>/<uuid:content_id>', stream_vod, name='vod_stream'),
|
|
path('<str:content_type>/<uuid:content_id>/<int:profile_id>/', stream_vod, name='vod_stream_with_profile'),
|
|
|
|
# VOD Stats
|
|
path('stats/', views.vod_stats, name='vod_stats'),
|
|
|
|
# Stop VOD client connection
|
|
path('stop_client/', views.stop_vod_client, name='stop_vod_client'),
|
|
]
|