Return the queuefile from download_video.

master
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
1 changed files with 1 additions and 0 deletions

View File

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