修改metainfo为数据库读取,修复tmdb代理连接错误

This commit is contained in:
mtvpls
2025-12-22 20:58:14 +08:00
parent 7ca6379d93
commit 0450edf9bc
13 changed files with 154 additions and 271 deletions
+1 -8
View File
@@ -125,14 +125,7 @@ export async function GET(request: NextRequest) {
};
}
// 保存 videoinfo.json
const videoinfoPath = `${folderPath}/videoinfo.json`;
await client.uploadFile(
videoinfoPath,
JSON.stringify(videoInfo, null, 2)
);
// 缓存
// 仅缓存到内存,不再持久化到 OpenList
setCachedVideoInfo(folderPath, videoInfo);
}