update:jellyfin搜刮参数

This commit is contained in:
Yutousama 2022-07-11 19:12:43 +08:00
parent 56ff209497
commit e8fe762c53

View File

@ -14,7 +14,7 @@ public class JellyfinController {
public String addItem(String Name, String Date) { public String addItem(String Name, String Date) {
if (!StringUtils.isEmpty(Name) && !StringUtils.isEmpty(Date)) { if (!StringUtils.isEmpty(Name) && !StringUtils.isEmpty(Date)) {
QQBotManager.getInstance().sendMessage(734332887L, Date + " 新增:" + Name); QQBotManager.getInstance().sendMessage(734332887L, Date + " 新增:" + Name);
AppTools.exec("/home/yutou/public/servier/tinyMediaManager/tinyMediaManager tvshow --scrapeUnscraped", null, false, true); AppTools.exec("/home/yutou/public/servier/tinyMediaManager/tinyMediaManager tvshow -u --scrapeUnscraped", null, false, true);
} }
return "ok"; return "ok";
} }
@ -22,7 +22,7 @@ public class JellyfinController {
@ResponseBody @ResponseBody
@RequestMapping("/jellyfin/updateMeta") @RequestMapping("/jellyfin/updateMeta")
public String updateMeta() { public String updateMeta() {
AppTools.exec("/home/yutou/public/servier/tinyMediaManager/tinyMediaManager tvshow --scrapeUnscraped", null, false, true); AppTools.exec("/home/yutou/public/servier/tinyMediaManager/tinyMediaManager tvshow -u --scrapeUnscraped", null, false, true);
return "ok"; return "ok";
} }
} }