fix:jellyfin搜刮无效问题
This commit is contained in:
parent
b783224077
commit
1b1c249e0f
@ -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("/public/servier/tinyMediaManager/tinyMediaManager tvshow --scrapeUnscraped", null, false, true);
|
||||
AppTools.exec("/home/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("/public/servier/tinyMediaManager/tinyMediaManager tvshow --scrapeUnscraped", new ObjectInterface() {
|
||||
AppTools.exec("/home/public/servier/tinyMediaManager/tinyMediaManager tvshow --scrapeUnscraped", new ObjectInterface() {
|
||||
@Override
|
||||
public void out(String data) {
|
||||
super.out(data);
|
||||
|
Loading…
Reference in New Issue
Block a user