fix:jellyfin搜刮无效问题
This commit is contained in:
parent
1b1c249e0f
commit
f379a31cd9
@ -16,7 +16,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/public/servier/tinyMediaManager/tinyMediaManager tvshow --scrapeUnscraped", null, false, true);
|
AppTools.exec("/home/yutou/public/servier/tinyMediaManager/tinyMediaManager tvshow --scrapeUnscraped", null, false, true);
|
||||||
}
|
}
|
||||||
return "ok";
|
return "ok";
|
||||||
}
|
}
|
||||||
@ -24,7 +24,7 @@ public class JellyfinController {
|
|||||||
@ResponseBody
|
@ResponseBody
|
||||||
@RequestMapping("/jellyfin/updateMeta")
|
@RequestMapping("/jellyfin/updateMeta")
|
||||||
public String 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
|
@Override
|
||||||
public void out(String data) {
|
public void out(String data) {
|
||||||
super.out(data);
|
super.out(data);
|
||||||
|
Loading…
Reference in New Issue
Block a user