+ audiobook.project.youtube.publish(audiobook, filename)
+
+ def get_source_file_paths(self, audiobook):
+ if not audiobook.youtube_volume:
+ return [audiobook.source_file.path]
+ return [
+ a.source_file.path
+ for a in type(audiobook)
+ .objects.filter(
+ slug=audiobook.slug, youtube_volume=audiobook.youtube_volume
+ )
+ .order_by("index")
+ ]