From 5f803f302578e04c452613d840e7201efb985a92 Mon Sep 17 00:00:00 2001 From: chivehao Date: Sat, 19 Oct 2024 14:37:38 +0800 Subject: [PATCH] =?UTF-8?q?optimize:=20=E7=A7=BB=E9=99=A4=E4=B8=80?= =?UTF-8?q?=E4=BA=9B=E4=B8=8D=E5=BF=85=E8=A6=81=E7=9A=84=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.MD | 4 ++++ src/main/java/run/ikaros/plugin/mikan/MikanSubHandler.java | 5 ++--- src/main/resources/plugin.yaml | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.MD b/CHANGELOG.MD index d6d8041..0fb00bc 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.MD @@ -1,4 +1,8 @@ +# 17.1.4 + +- 移除一些不必要的日志 + # 17.1.3 - 链接附件时给附件添加个条目标签 diff --git a/src/main/java/run/ikaros/plugin/mikan/MikanSubHandler.java b/src/main/java/run/ikaros/plugin/mikan/MikanSubHandler.java index 7e5d485..ad2a81e 100644 --- a/src/main/java/run/ikaros/plugin/mikan/MikanSubHandler.java +++ b/src/main/java/run/ikaros/plugin/mikan/MikanSubHandler.java @@ -137,7 +137,7 @@ public Mono parseMikanSubRssAndAddToQbittorrent() { } } long end = System.currentTimeMillis(); - log.debug("qbittorrentClient.getTorrentList {}ms", end - start); + // log.debug("qbittorrentClient.getTorrentList {}ms", end - start); String bgmTvSubjectId = qbTorrentInfo.getTags(); if (!StringUtils.hasText(bgmTvSubjectId)) { @@ -152,8 +152,7 @@ public Mono parseMikanSubRssAndAddToQbittorrent() { } int index = bgmTvSubjectPageUrl.lastIndexOf("/"); bgmTvSubjectId = bgmTvSubjectPageUrl.substring(index + 1); - log.debug("bgmTvSubjectId and qbTorrentInfo" + - "bgmTvSubjectId: {} \nqbTorrentInfo: {}", bgmTvSubjectId, qbTorrentInfo); + // log.debug("bgmTvSubjectId and qbTorrentInfo" + "bgmTvSubjectId: {} \nqbTorrentInfo: {}", bgmTvSubjectId, qbTorrentInfo); if (StringUtils.hasText(qbTorrentInfo.getHash())) { qbittorrentClient.addSingleTags(qbTorrentInfo.getHash(), bgmTvSubjectId); log.debug("add tag for torrent: {}", mikanRssItemTitle); diff --git a/src/main/resources/plugin.yaml b/src/main/resources/plugin.yaml index cab60d5..ec29074 100644 --- a/src/main/resources/plugin.yaml +++ b/src/main/resources/plugin.yaml @@ -4,7 +4,7 @@ name: PluginMikan # plugin entry class that extends BasePlugin clazz: run.ikaros.plugin.mikan.MikanPlugin # plugin 'version' is a valid semantic version string (see semver.org). -version: 17.1.3 +version: 17.1.4 requires: ">=0.17.4" author: name: Ikaros OSS Team