Error using suball and maxdayage
Posted: 23 Jun 2014, 14:39
Hey rednoah,
So I've been working on that script and using the following command now:
thegibson> filebot -script fn:suball --def maxAgeDays=20 --lang nl --output srt /volume1/video/series
and it works fine, there's just this weird issue that happen when I scan the movies dir instead:
thegibson> filebot -script fn:suball --def maxAgeDays=20 --lang nl --output srt /volume1/video/movies
NullPointerException: java.lang.NullPointerException
java.lang.NullPointerException
at net.filebot.cli.ScriptShellMethods$1.preVisitDirectory(ScriptShellMethods.java:166)
at net.filebot.cli.ScriptShellMethods$1.preVisitDirectory(ScriptShellMethods.java:160)
at net.filebot.cli.ScriptShellMethods.getMediaFolders(ScriptShellMethods.java:160)
at net.filebot.cli.ScriptShellMethods.eachMediaFolder(ScriptShellMethods.java:181)
at Script1.run(Script1.groovy:38)
at net.filebot.cli.ScriptShell.evaluate(ScriptShell.java:60)
at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:81)
at net.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:108)
at net.filebot.Main.main(Main.java:192)
Failure (°_°)
exact same command, just a different folder.
uname -a: Linux thegibson 2.6.32.12 #4458 Thu Apr 3 10:33:17 CST 2014 armv5tel GNU/Linux synology_88f6282_112+
So I've been working on that script and using the following command now:
thegibson> filebot -script fn:suball --def maxAgeDays=20 --lang nl --output srt /volume1/video/series
and it works fine, there's just this weird issue that happen when I scan the movies dir instead:
thegibson> filebot -script fn:suball --def maxAgeDays=20 --lang nl --output srt /volume1/video/movies
NullPointerException: java.lang.NullPointerException
java.lang.NullPointerException
at net.filebot.cli.ScriptShellMethods$1.preVisitDirectory(ScriptShellMethods.java:166)
at net.filebot.cli.ScriptShellMethods$1.preVisitDirectory(ScriptShellMethods.java:160)
at net.filebot.cli.ScriptShellMethods.getMediaFolders(ScriptShellMethods.java:160)
at net.filebot.cli.ScriptShellMethods.eachMediaFolder(ScriptShellMethods.java:181)
at Script1.run(Script1.groovy:38)
at net.filebot.cli.ScriptShell.evaluate(ScriptShell.java:60)
at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:81)
at net.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:108)
at net.filebot.Main.main(Main.java:192)
Failure (°_°)
exact same command, just a different folder.
uname -a: Linux thegibson 2.6.32.12 #4458 Thu Apr 3 10:33:17 CST 2014 armv5tel GNU/Linux synology_88f6282_112+