Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问有办法实现,提供开放的api或者webhook之类的,来自动调用tmm刮削资源和重命名吗 #3

Open
latel opened this issue Mar 20, 2024 · 4 comments

Comments

@latel
Copy link

latel commented Mar 20, 2024

搜了下,tmm是有命令行接口的,https://www.tinymediamanager.org/docs/commandline
但是容器里没找到

find / -name tinyMediaManager

只找到个jar文件,用java执行报错

/tmp # java -jar /config/tmm.jar
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.NoClassDefFoundError: ch/qos/logback/core/filter/Filter
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Class.java:2729)
        at java.lang.Class.privateGetMethodRecursive(Class.java:3076)
        at java.lang.Class.getMethod0(Class.java:3046)
        at java.lang.Class.getMethod(Class.java:1812)
        at sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:650)
        at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:632)
Caused by: java.lang.ClassNotFoundException: ch.qos.logback.core.filter.Filter
        at java.net.URLClassLoader.findClass(URLClassLoader.java:387)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
        ... 7 more
@dzhuang
Copy link
Owner

dzhuang commented Mar 21, 2024

你要去tmm的gitlab上看看,https://gitlab.com/tinyMediaManager/tinyMediaManager

@dzhuang
Copy link
Owner

dzhuang commented Mar 21, 2024

再看了你发的链接,可能的原因,那个是v4版的Docs,而image里是v5?

@longerpt
Copy link

再看了你发的链接,可能的原因,那个是v4版的Docs,而image里是v5?

请教一下V5的命令行是如何使用的呢?我参照v4的用法不行

@dzhuang
Copy link
Owner

dzhuang commented Apr 20, 2024

Sorry, 我没有时间处理这个事项,我的建议是直接在gitlab问开发者,这肯定是最快最直接的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants