diff --git a/src/main/java/com/yutou/nas/Controllers/JellyfinController.java b/src/main/java/com/yutou/nas/Controllers/JellyfinController.java index ee13d67..eefcb96 100644 --- a/src/main/java/com/yutou/nas/Controllers/JellyfinController.java +++ b/src/main/java/com/yutou/nas/Controllers/JellyfinController.java @@ -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"; } }