VideoTitle问题
This commit is contained in:
parent
9fb135483e
commit
5236cad341
@ -45,6 +45,7 @@ def auto_submit_task():
|
|||||||
video_clip.danmaku_clips[0].full_path,
|
video_clip.danmaku_clips[0].full_path,
|
||||||
*[clip.full_path for clip in video_clip.danmaku_clips[1:]]
|
*[clip.full_path for clip in video_clip.danmaku_clips[1:]]
|
||||||
)
|
)
|
||||||
|
video_title = bili_record_workflow_item.name
|
||||||
clear_item()
|
clear_item()
|
||||||
def _encode_finish_callback(_f: "Future"):
|
def _encode_finish_callback(_f: "Future"):
|
||||||
_result = _f.result()
|
_result = _f.result()
|
||||||
@ -54,7 +55,7 @@ def auto_submit_task():
|
|||||||
bilibili_instance.upload(
|
bilibili_instance.upload(
|
||||||
parts=[VideoPart(os.path.join(_item['base_path'], _item['file']), _item['file']) for _item in
|
parts=[VideoPart(os.path.join(_item['base_path'], _item['file']), _item['file']) for _item in
|
||||||
_result],
|
_result],
|
||||||
title=bili_record_workflow_item.name,
|
title=video_title,
|
||||||
desc=VIDEO_DESC,
|
desc=VIDEO_DESC,
|
||||||
tid=VIDEO_TID,
|
tid=VIDEO_TID,
|
||||||
tag=VIDEO_TAGS,
|
tag=VIDEO_TAGS,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user