From 2d04a282464d23e9fb98058b36ddb790f667b225 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=B0=E6=9C=94?= <565183519@qq.com> Date: Sun, 21 Jun 2026 16:56:34 +0800 Subject: [PATCH] =?UTF-8?q?D136+:=20generate-shots.js=E8=BE=93=E5=87=BA?= =?UTF-8?q?=E8=B7=AF=E5=BE=84=E4=BF=AE=E5=A4=8D=20=E2=80=94=20JZAO?= =?UTF-8?q?=E5=A4=96=E7=BD=AE=E7=A1=AC=E7=9B=98=E4=BC=98=E5=85=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OUT_DIR改为JZAO优先(/Volumes/JZAO/.../zai-fu-fei-xiu-xian/ep01) 本地outputs/shots/作为fallback 导航写了JZAO但代码没落地 → 现在代码也落地了 --- video-ai-system/engines/generate-shots.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/video-ai-system/engines/generate-shots.js b/video-ai-system/engines/generate-shots.js index 4df9b72..1615940 100644 --- a/video-ai-system/engines/generate-shots.js +++ b/video-ai-system/engines/generate-shots.js @@ -7,7 +7,11 @@ const fs = require('fs'); const path = require('path'); const ENCODING_FILE = path.resolve(__dirname, '../outputs/付费修仙-ep01-director-encoding.json'); -const OUT_DIR = path.resolve(__dirname, '../outputs/shots'); + +// D136+ 输出优先JZAO外置硬盘 · 本地fallback +const JZAO_SHOTS = '/Volumes/JZAO/铸渊-ICE-GL-ZY001/OUT-输出/视频/zai-fu-fei-xiu-xian/ep01'; +const LOCAL_SHOTS = path.resolve(__dirname, '../outputs/shots'); +const OUT_DIR = fs.existsSync(JZAO_SHOTS) ? JZAO_SHOTS : LOCAL_SHOTS; async function main() { const encoding = JSON.parse(fs.readFileSync(ENCODING_FILE, 'utf8'));