From f3e9feb8fd302baf87d4724faa6bc9e2dd2cf39f Mon Sep 17 00:00:00 2001 From: yutou <583819556@qq.com> Date: Mon, 6 Feb 2023 14:36:16 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E8=B0=83=E6=95=B4tmm=E7=9A=84=E6=8C=87?= =?UTF-8?q?=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/yutou/nas/utils/BTDownloadManager.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/yutou/nas/utils/BTDownloadManager.java b/src/main/java/com/yutou/nas/utils/BTDownloadManager.java index 53cf679..9bb8638 100644 --- a/src/main/java/com/yutou/nas/utils/BTDownloadManager.java +++ b/src/main/java/com/yutou/nas/utils/BTDownloadManager.java @@ -144,7 +144,8 @@ public class BTDownloadManager { } }, false, true); }*/ - AppTools.exec("/home/yutou/public/servier/tinyMediaManager/tinyMediaManager tvshow -u --scrapeUnscraped", null, false, true); + //AppTools.exec("/home/yutou/public/servier/tinyMediaManager/tinyMediaManager tvshow -u --scrapeUnscraped", null, false, true); + AppTools.exec("/home/yutou/public/servier/tinyMediaManager/tinyMediaManager tvshow -u -w", null, false, true); } public static String getTorrentFileHash(String magnet) { From f94b4f130ca48b7f7996a5dca17e0c0433ec96e1 Mon Sep 17 00:00:00 2001 From: Yutousama <583819556@qq.com> Date: Thu, 2 Mar 2023 23:28:21 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=8F=96=E6=B6=88=E6=AF=8F=E6=97=A5?= =?UTF-8?q?=E9=9F=B3=E4=B9=90=E6=89=AB=E6=8F=8F=E3=80=81oss=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E3=80=81ups=E8=87=AA=E5=8A=A8=E5=85=B3=E6=9C=BA?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/yutou/nas/utils/ApplicationInit.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/yutou/nas/utils/ApplicationInit.java b/src/main/java/com/yutou/nas/utils/ApplicationInit.java index bfad904..1ea52cd 100644 --- a/src/main/java/com/yutou/nas/utils/ApplicationInit.java +++ b/src/main/java/com/yutou/nas/utils/ApplicationInit.java @@ -36,7 +36,7 @@ public class ApplicationInit implements ApplicationRunner { if (time.equals(oldTime)) { return; } - float power = Tools.getSystemUPSPower(); + /*float power = Tools.getSystemUPSPower(); if (power > 0) { if (power == 100) { AppTools.exec("wakeonlan 00:F0:D2:D0:6B:B5", null, false, true); @@ -53,14 +53,14 @@ public class ApplicationInit implements ApplicationRunner { Log.i("UPS电池低于30%,即将关机"); QQBotManager.getInstance().sendMessage("UPS电池低于30%,即将关机"); } - } + }*/ oldTime = time; switch (time) { case "00:00": - musicTools.scanMusic(); + //musicTools.scanMusic(); break; case "01:00": - DepotManager.scan(); + //DepotManager.scan(); break; }