Merge remote-tracking branch 'origin/master'

This commit is contained in:
Yutousama 2023-03-02 23:30:09 +08:00
commit f50dcb2244
2 changed files with 6 additions and 5 deletions

View File

@ -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;
}

View File

@ -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) {