fix:jellyfin搜刮无效问题

This commit is contained in:
Yutousama 2022-07-11 17:14:05 +08:00
parent 1b1c249e0f
commit f379a31cd9

View File

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