From 8036e3256b8db2d0363c4f2bbfd0815b7a7450b2 Mon Sep 17 00:00:00 2001 From: x1ao4 Date: Tue, 16 Sep 2025 01:46:54 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=E6=9B=B4=E6=8D=A2=E6=B5=B7?= =?UTF-8?q?=E6=8A=A5=E7=9A=84=E6=97=A5=E5=BF=97=E8=BE=93=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除 “成功保存自定义海报: …” 与 “成功更新自定义海报: …” 的 info 日志输出,改为静默处理 - 不影响海报保存、数据库同步与 `poster_updated:` 通知链路,功能保持不变,减少无意义日志噪音 --- app/run.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/run.py b/app/run.py index abd78ab..72c5607 100644 --- a/app/run.py +++ b/app/run.py @@ -4513,7 +4513,7 @@ def download_custom_poster(poster_url: str, tmdb_id: int, target_safe_name: str with open(file_path, 'wb') as f: f.write(r.content) - logging.info(f"成功保存自定义海报: {poster_url} -> {file_path}") + # 自定义海报保存成功(静默) return f"/cache/images/{safe_name}" except Exception as e: @@ -5169,7 +5169,7 @@ def calendar_edit_metadata(): # 即使对比失败也不影响功能 pass - logging.info(f"成功更新自定义海报: TMDB ID {current_tmdb_id}, 路径: {saved_path}") + # 成功更新自定义海报(静默) changed = True # 仅当自定义海报保存成功时,通知前端该节目海报已更新 try: