From 3baf84cfd113b1162d73e59ea132ec2a5e6f0a19 Mon Sep 17 00:00:00 2001 From: claude-bot Date: Fri, 5 Jun 2026 15:51:59 +0900 Subject: [PATCH] op: emit painting_variant author/title as plain strings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 이미지 zip 의 cover_NN.json 이 title/author 를 {text:...} 객체로 내보내 일부 환경에서 인식되지 않던 문제. 요청 형식대로 author:"musicquiz", title:"cover_NN" 평문 문자열로 바꿔 asset_id/width/height 뒤에 배치한다. --- src/server/routes/op.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/routes/op.ts b/src/server/routes/op.ts index be0c27c..43fe1c4 100644 --- a/src/server/routes/op.ts +++ b/src/server/routes/op.ts @@ -293,8 +293,8 @@ opRouter.get('/op/datapack/:packName/images-zip', requireAuth, async (req, res, asset_id: `musicquiz:cover_${nn}`, width: size, height: size, - title: { text: `Cover ${nn}` }, - author: { text: 'music quiz' } + author: 'musicquiz', + title: `cover_${nn}` } archive.append(JSON.stringify(json, null, 2) + '\n', { name: `cover_${nn}.json` }) }