Page 1 of 1
How to run via CLI (MAS filebot)
Posted: 16 Apr 2016, 09:43
by alael
Hello,
Bought the app on the MAS but i am unable to find the CLI interface, I need this to run via cron scheduler as i can't bother to use manually the GUI,
Any help?
Re: How to run via CLI (MAS filebot)
Posted: 16 Apr 2016, 10:20
by rednoah
Re: How to run via CLI (MAS filebot)
Posted: 16 Apr 2016, 13:23
by alael
Hi,
Installed homebrew and all the stuff if i run:
filebot -script 'fn:amc' /Volumes/Download/anime-tmp/ --output /Volumes/Download/ --action move -non-strict --conflict skip --lang en --def 'ut_label=anime' 'clean=y' 'skipExtract=y' 'minFileSize=100000000' 'excludeList=.filebot' --log info --log-file '/Volumes/Download/log/1451163407086.log' >> '/Volumes/Download/log/1451163407086.log' 2>&1
i get:
Apr 16, 2016 3:21:15 PM net.filebot.Main main
SEVERE: Unexpected error during startup
java.io.IOException: Operation not supported
at sun.nio.ch.FileDispatcherImpl.lock0(Native Method)
at sun.nio.ch.FileDispatcherImpl.lock(FileDispatcherImpl.java:90)
at sun.nio.ch.FileChannelImpl.lock(FileChannelImpl.java:1073)
at java.nio.channels.FileChannel.lock(FileChannel.java:1053)
at net.filebot.Main.main(Main.java:128)
Same error appear on the synology package any idea?
Re: How to run via CLI (MAS filebot)
Posted: 16 Apr 2016, 14:27
by rednoah
Are we taking about FileBot on Mac or FileBot on Synology NAS now?
The command looks like something FileBot Node would run? Did you just copy it and try to run it on your Mac?
You're using the same file for filebot log output and shell IO redirection. That'll cause a conflict or a deadlock. Don't use IO redirection.
Re: How to run via CLI (MAS filebot)
Posted: 16 Apr 2016, 15:33
by alael
rednoah wrote:Are we taking about FileBot on Mac or FileBot on Synology NAS now?
The command looks like something FileBot Node would run? Did you just copy it and try to run it on your Mac?
You're using the same file for filebot log output and shell IO redirection. That'll cause a conflict or a deadlock. Don't use IO redirection.
Yes i have tried to use the command used on my linux box on the mac,
Based on what you said i did:
filebot -script 'fn:amc' /Volumes/Download/anime-tmp/ --output /Volumes/Download/ --action move -non-strict --conflict skip --lang en --def 'ut_label=anime' 'clean=y' 'skipExtract=y' 'minFileSize=100000000' 'excludeList=.filebot' --log info --log-file '/Volumes/Download/log/log.bot.log' >> '/Volumes/Download/log/log.shell.log' 2>&1
The progress stop in 1-2 second with this output:
Apr 16, 2016 5:32:23 PM net.filebot.Main main
SEVERE: Unexpected error during startup
java.io.IOException: Operation not supported
at sun.nio.ch.FileDispatcherImpl.lock0(Native Method)
at sun.nio.ch.FileDispatcherImpl.lock(FileDispatcherImpl.java:90)
at sun.nio.ch.FileChannelImpl.lock(FileChannelImpl.java:1073)
at java.nio.channels.FileChannel.lock(FileChannel.java:1053)
at net.filebot.Main.main(Main.java:128)
Re: How to run via CLI (MAS filebot)
Posted: 16 Apr 2016, 17:57
by alael
Hi,
It seems that by removing the IO redirect the problem si now solved any idea why it worked fine for years and now it does not?
thanks,