1 from django.urls import path
2 from django.views.generic import RedirectView
6 path("", views.AudiobookList.as_view(), name="list_managed"),
7 path('new/', views.list_new, name="list_new"),
8 path('new/<path:filename>/', views.file_new, name="file_new"),
9 path('move_to_archive/<path:filename>/', views.move_to_archive, name="move_to_archive"),
10 path('publishing/', views.list_publishing, name="list_publishing"),
11 path('book/<slug:slug>/', views.BookView.as_view(), name="book"),
12 path('book/<slug:slug>.json', views.book_json, name="book_json"),
13 path('book-youtube-volume/<int:aid>/', views.book_youtube_volume, name="book_youtube_volume"),
14 path('file/<int:id>/', views.file_managed, name="file"),
15 path('publish/<int:aid>/', views.publish, name="publish"),
16 path('convert/<int:aid>/', views.publish, {'publish': False}, name="convert"),
17 path('download/<int:aid>/', views.download, name="download"),
18 path('download/<int:aid>.<slug:which>', views.download, name="download"),
19 path('cancel/<int:aid>/', views.cancel_publishing, name="cancel_publishing"),
20 path('remove_to_archive/<int:aid>/', views.remove_to_archive, name="remove_to_archive"),
21 path('unmanaged/', views.list_unmanaged, name="list_unmanaged"),
22 path('unmanaged/<path:filename>/', views.file_unmanaged, name="file_unmanaged"),
23 path('move_to_new/<path:filename>/', views.move_to_new, name="move_to_new"),