Return the queuefile from download_video.
This commit is contained in:
parent
e5129b5946
commit
87407d39c1
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue