fix(music-lab): cache-buster query 제거 + DALL·E prompt에 background_keyword 활용

1. video.py _container_to_nas, orchestrator.py _local_path에서 path 변환 전 ?쿼리 strip
   — 이전 commit 20c5268의 cache-buster ?v=...가 Windows path로 그대로 전달되어 input_validation 실패하던 문제 픽스
2. cover.py _generate_with_dalle가 background_keyword를 prompt에 포함
   — 사용자가 PipelineStartModal에서 '배경 키워드' 입력 시 처음부터 원하는 분위기 cover 생성
This commit is contained in:
2026-05-10 16:12:21 +09:00
parent 20c5268def
commit 755dea63f4
6 changed files with 52 additions and 2 deletions

View File

@@ -284,6 +284,8 @@ def _local_path(media_url: str) -> str:
"""
if not media_url:
return ""
# Strip query string (e.g., cache-buster ?v=...)
media_url = media_url.split("?", 1)[0]
base_media = os.getenv("VIDEO_MEDIA_BASE", "/media/videos")
base_data = os.getenv("VIDEO_DATA_DIR", "/app/data/videos")
if media_url.startswith(base_media):