mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-24 05:56:37 +00:00
Add redownload-thumb
URL
This commit is contained in:
parent
e2bf227187
commit
ea545d49a6
@ -14,104 +14,156 @@ urlpatterns = [
|
||||
|
||||
# Dashboard URLs
|
||||
|
||||
path('',
|
||||
path(
|
||||
'',
|
||||
DashboardView.as_view(),
|
||||
name='dashboard'),
|
||||
name='dashboard',
|
||||
),
|
||||
|
||||
# Source URLs
|
||||
|
||||
path('sources',
|
||||
path(
|
||||
'sources',
|
||||
SourcesView.as_view(),
|
||||
name='sources'),
|
||||
name='sources',
|
||||
),
|
||||
|
||||
path('source-validate/<slug:source_type>',
|
||||
path(
|
||||
'source-validate/<slug:source_type>',
|
||||
ValidateSourceView.as_view(),
|
||||
name='validate-source'),
|
||||
name='validate-source',
|
||||
),
|
||||
|
||||
path('source-sync-now/<uuid:pk>',
|
||||
path(
|
||||
'source-sync-now/<uuid:pk>',
|
||||
SourcesView.as_view(),
|
||||
name='source-sync-now'),
|
||||
name='source-sync-now',
|
||||
),
|
||||
|
||||
path('source-add',
|
||||
path(
|
||||
'source-add',
|
||||
AddSourceView.as_view(),
|
||||
name='add-source'),
|
||||
name='add-source',
|
||||
),
|
||||
|
||||
path('source/<uuid:pk>',
|
||||
path(
|
||||
'source/<uuid:pk>',
|
||||
SourceView.as_view(),
|
||||
name='source'),
|
||||
name='source',
|
||||
),
|
||||
|
||||
path('source-update/<uuid:pk>',
|
||||
path(
|
||||
'source-update/<uuid:pk>',
|
||||
UpdateSourceView.as_view(),
|
||||
name='update-source'),
|
||||
name='update-source',
|
||||
),
|
||||
|
||||
path('source-delete/<uuid:pk>',
|
||||
path(
|
||||
'source-delete/<uuid:pk>',
|
||||
DeleteSourceView.as_view(),
|
||||
name='delete-source'),
|
||||
name='delete-source',
|
||||
),
|
||||
|
||||
# Media URLs
|
||||
|
||||
path('media',
|
||||
path(
|
||||
'media',
|
||||
MediaView.as_view(),
|
||||
name='media'),
|
||||
name='media',
|
||||
),
|
||||
|
||||
path('media-thumb/<uuid:pk>',
|
||||
path(
|
||||
'media-thumb/<uuid:pk>',
|
||||
MediaThumbView.as_view(),
|
||||
name='media-thumb'),
|
||||
name='media-thumb',
|
||||
),
|
||||
|
||||
path('media/<uuid:pk>',
|
||||
path(
|
||||
'media/<uuid:pk>',
|
||||
MediaItemView.as_view(),
|
||||
name='media-item'),
|
||||
name='media-item',
|
||||
),
|
||||
|
||||
path('media-redownload/<uuid:pk>',
|
||||
path(
|
||||
'media-redownload/<uuid:pk>',
|
||||
MediaRedownloadView.as_view(),
|
||||
name='redownload-media'),
|
||||
name='redownload-media',
|
||||
),
|
||||
|
||||
path('media-skip/<uuid:pk>',
|
||||
path(
|
||||
'media-thumb-redownload/<uuid:pk>',
|
||||
MediaItemView.as_view(),
|
||||
name='redownload-thumb',
|
||||
),
|
||||
|
||||
path(
|
||||
'media-skip/<uuid:pk>',
|
||||
MediaSkipView.as_view(),
|
||||
name='skip-media'),
|
||||
name='skip-media',
|
||||
),
|
||||
|
||||
path('media-enable/<uuid:pk>',
|
||||
path(
|
||||
'media-enable/<uuid:pk>',
|
||||
MediaEnableView.as_view(),
|
||||
name='enable-media'),
|
||||
name='enable-media',
|
||||
),
|
||||
|
||||
path('media-content/<uuid:pk>',
|
||||
path(
|
||||
'media-content/<uuid:pk>',
|
||||
MediaContent.as_view(),
|
||||
name='media-content'),
|
||||
name='media-content',
|
||||
),
|
||||
|
||||
# Task URLs
|
||||
|
||||
path('tasks',
|
||||
path(
|
||||
'tasks',
|
||||
TasksView.as_view(),
|
||||
name='tasks'),
|
||||
name='tasks',
|
||||
),
|
||||
|
||||
path('tasks-completed',
|
||||
path(
|
||||
'tasks-completed',
|
||||
CompletedTasksView.as_view(),
|
||||
name='tasks-completed'),
|
||||
name='tasks-completed',
|
||||
),
|
||||
|
||||
path('tasks-reset',
|
||||
path(
|
||||
'tasks-reset',
|
||||
ResetTasks.as_view(),
|
||||
name='reset-tasks'),
|
||||
name='reset-tasks',
|
||||
),
|
||||
|
||||
# Media Server URLs
|
||||
|
||||
path('mediaservers',
|
||||
path(
|
||||
'mediaservers',
|
||||
MediaServersView.as_view(),
|
||||
name='mediaservers'),
|
||||
name='mediaservers',
|
||||
),
|
||||
|
||||
path('mediaserver-add/<slug:server_type>',
|
||||
path(
|
||||
'mediaserver-add/<slug:server_type>',
|
||||
AddMediaServerView.as_view(),
|
||||
name='add-mediaserver'),
|
||||
name='add-mediaserver',
|
||||
),
|
||||
|
||||
path('mediaserver/<int:pk>',
|
||||
path(
|
||||
'mediaserver/<int:pk>',
|
||||
MediaServerView.as_view(),
|
||||
name='mediaserver'),
|
||||
name='mediaserver',
|
||||
),
|
||||
|
||||
path('mediaserver-delete/<int:pk>',
|
||||
path(
|
||||
'mediaserver-delete/<int:pk>',
|
||||
DeleteMediaServerView.as_view(),
|
||||
name='delete-mediaserver'),
|
||||
name='delete-mediaserver',
|
||||
),
|
||||
|
||||
path('mediaserver-update/<int:pk>',
|
||||
path(
|
||||
'mediaserver-update/<int:pk>',
|
||||
UpdateMediaServerView.as_view(),
|
||||
name='update-mediaserver'),
|
||||
name='update-mediaserver',
|
||||
),
|
||||
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user