You've already forked my-video-workflow
在直播的时候就不上传了
This commit is contained in:
@ -56,9 +56,8 @@ class Bilibili:
|
||||
:type no_reprint: int
|
||||
"""
|
||||
self.pre_upload(parts)
|
||||
if not IS_LIVING.is_set():
|
||||
self.finish_upload(title, tid, tag, desc, source, cover, no_reprint)
|
||||
self.clear()
|
||||
self.finish_upload(title, tid, tag, desc, source, cover, no_reprint)
|
||||
self.clear()
|
||||
|
||||
def pre_upload(self, parts: "VideoPart", max_retry=5):
|
||||
"""
|
||||
|
Reference in New Issue
Block a user