+import os
from archive.tasks import AudioFormatTask
from .models import YouTube
def set_tags(self, audiobook, filename):
pass
+ @classmethod
+ def save(cls, audiobook, file_name):
+ """We do not save the video files."""
+ os.unlink(file_name)
+
def put(self, user, audiobook, filename):
YouTube.objects.first().publish(audiobook, filename)