+@require_POST
+@permission_required('archive.change_audiobook')
+def book_publish(request, slug):
+ for audiobook in Audiobook.objects.filter(slug=slug).order_by("index"):
+ if audiobook.is_youtube_publishable:
+ audiobook.youtube_publish()
+ return redirect(reverse('book', args=[slug]))
+
+