from django.urls import path from . import views urlpatterns = [ # STUFF RELATED TO WHOLE SITE path('home/', views.home, name='home'), path('favorites', views.favorites, name='favorites'), path('planned-to-watch', views.planned_to_watch, name='planned_to_watch'), path('library/', views.library, name='library'), # STUFF RELATED TO INDIVIDUAL VIDEOS path('video/', views.view_video, name='video'), path('video//mark/favorite', views.mark_video_favortie, name='mark_video_favorite'), path( 'video//mark/planned-to-watch', views.mark_video_planned_to_watch, name='mark_video_planned_to_watch' ), path('video//notes', views.video_notes, name='video_notes'), path( 'video//get-video-completion-times', views.video_completion_times, name='video_completion_times' ), path('video//add-user-label', views.add_video_user_label, name='add_video_user_label'), # STUFF RELATED TO VIDEO(S) INSIDE PLAYLISTS # STUFF RELATED TO ONE PLAYLIST path('playlist/', views.view_playlist, name='playlist'), path('playlist//add-user-label', views.add_playlist_user_label, name='add_playlist_user_label'), path( 'playlist///mark/watched', views.mark_video_watched, name='mark_video_watched' ), path('playlist//settings', views.view_playlist_settings, name='view_playlist_settings'), path('playlist//order-by/', views.order_playlist_by, name='order_playlist_by'), path('playlist//mark-as/', views.mark_playlist_as, name='mark_playlist_as'), path('playlist//update/', views.update_playlist, name='update_playlist'), path( 'playlist//update-settings', views.update_playlist_settings, name='update_playlist_settings' ), path( 'playlist///load-more-videos/', views.load_more_videos, name='load_more_videos' ), path('playlist//create-tag', views.create_playlist_tag, name='create_playlist_tag'), path('playlist//add-tag', views.add_playlist_tag, name='add_playlist_tag'), path( 'playlist//remove-tag/', views.remove_playlist_tag, name='remove_playlist_tag' ), path('playlist//get-tags', views.get_playlist_tags, name='get_playlist_tags'), path( 'playlist//get-unused-tags', views.get_unused_playlist_tags, name='get_unused_playlist_tags' ), path('playlist//get-watch-message', views.get_watch_message, name='get_watch_message'), path( 'playlist//delete-videos/', views.playlist_delete_videos, name='delete_videos' ), path( 'playlist//delete-specific-videos/', views.delete_specific_videos, name='delete_specific_videos' ), path('playlist//delete-playlist', views.delete_playlist, name='delete_playlist'), path('playlist//reset-watched', views.reset_watched, name='reset_watched'), path( 'playlist//move-copy-videos/', views.playlist_move_copy_videos, name='playlist_move_copy_videos' ), path( 'playlist//open-random-video', views.playlist_open_random_video, name='playlist_open_random_video' ), path( 'playlist//get-playlist-completion-times', views.playlist_completion_times, name='playlist_completion_times' ), path('playlist//add-new-videos', views.playlist_add_new_videos, name='playlist_add_new_videos'), path( 'playlist//create-new-playlist', views.playlist_create_new_playlist, name='playlist_create_new_playlist' ), # STUFF RELATED TO PLAYLISTS IN BULK path( 'playlists//order-by/', views.order_playlists_by, name='order_playlists_by' ), path('playlists/tag/', views.tagged_playlists, name='tagged_playlists'), path('playlists/tag//edit', views.edit_tag, name='edit_tag'), path('playlists/tag//delete', views.delete_tag, name='delete_tag'), ]