Return the queuefile from download_video.

This commit is contained in:
voussoir 2021-10-25 14:10:11 -07:00
parent e5129b5946
commit 87407d39c1
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View file

@ -208,6 +208,7 @@ class YCDLDBVideoMixin:
self.on_commit_queue.append({'action': create_queuefile}) self.on_commit_queue.append({'action': create_queuefile})
video.mark_state('downloaded') video.mark_state('downloaded')
return queuefile
def get_video(self, video_id): def get_video(self, video_id):
return self.get_object_by_id(objects.Video, video_id) return self.get_object_by_id(objects.Video, video_id)