fix:jellyfin搜刮无效问题

This commit is contained in:
Yutousama 2022-07-11 17:16:04 +08:00
parent f379a31cd9
commit 56ff209497

View File

@ -1,8 +1,6 @@
package com.yutou.nas.Controllers;
import com.yutou.nas.interfaces.ObjectInterface;
import com.yutou.nas.utils.AppTools;
import com.yutou.nas.utils.Log;
import com.yutou.nas.utils.QQBotManager;
import com.yutou.nas.utils.StringUtils;
import org.springframework.stereotype.Controller;
@ -24,13 +22,7 @@ public class JellyfinController {
@ResponseBody
@RequestMapping("/jellyfin/updateMeta")
public String updateMeta() {
AppTools.exec("/home/yutou/public/servier/tinyMediaManager/tinyMediaManager tvshow --scrapeUnscraped", new ObjectInterface() {
@Override
public void out(String data) {
super.out(data);
Log.i("jellyfin",data);
}
}, false, true);
AppTools.exec("/home/yutou/public/servier/tinyMediaManager/tinyMediaManager tvshow --scrapeUnscraped", null, false, true);
return "ok";
}
}