Merge branch 'main' into creatomate
This commit is contained in:
commit
e1386b891e
31 files changed
+4917
-63
No files matched your search
@@ -568,7 +568,7 @@ async def get_video_status(
|
||||
|
||||
# 백그라운드 태스크로 MP4 다운로드 → Blob 업로드 → DB 업데이트 → 임시 파일 삭제
|
||||
logger.info(
|
||||
f"[get_video_status] Background task args - task_id: {video.task_id}, video_url: {video_url}, store_name: {store_name}"
|
||||
f"[get_video_status] Background task args - task_id: {video.task_id}, video_url: {video_url}, store_name: {store_name}, creatomate_render_id: {creatomate_render_id}"
|
||||
)
|
||||
background_tasks.add_task(
|
||||
download_and_upload_video_to_blob,
|
||||
@@ -576,6 +576,7 @@ async def get_video_status(
|
||||
video_url=video_url,
|
||||
store_name=store_name,
|
||||
user_uuid=current_user.user_uuid,
|
||||
creatomate_render_id=creatomate_render_id,
|
||||
)
|
||||
elif video and video.status == "completed":
|
||||
logger.debug(
|
||||
@@ -830,6 +831,7 @@ async def get_videos(
|
||||
project = projects_map.get(video.project_id)
|
||||
|
||||
item = VideoListItem(
|
||||
video_id=video.id,
|
||||
store_name=project.store_name if project else None,
|
||||
region=project.region if project else None,
|
||||
task_id=video.task_id,
|
||||
@@ -857,3 +859,5 @@ async def get_videos(
|
||||
status_code=500,
|
||||
detail=f"영상 목록 조회에 실패했습니다: {str(e)}",
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user