|
@@ -458,8 +458,8 @@ def gen_video_queue(name_hash,name,text_content, image_urls,avatar,user_id):
|
|
notify_line_user(name+"的影片已經產生完成囉! www.choozmo.com:8168/"+video_sub_folder+name_hash+".mp4", line_token)
|
|
notify_line_user(name+"的影片已經產生完成囉! www.choozmo.com:8168/"+video_sub_folder+name_hash+".mp4", line_token)
|
|
except Exception as e:
|
|
except Exception as e:
|
|
logging.error(traceback.format_exc())
|
|
logging.error(traceback.format_exc())
|
|
- #print('video generation error')
|
|
|
|
- #notify_group('影片錯誤')
|
|
|
|
|
|
+ print('video generation error')
|
|
|
|
+ notify_group('影片錯誤')
|
|
db['video_queue'].delete(id=top1['id'])
|
|
db['video_queue'].delete(id=top1['id'])
|
|
db.query('UPDATE video_queue_status SET status = 0')
|
|
db.query('UPDATE video_queue_status SET status = 0')
|
|
|
|
|