I have the following command line:
Code: Select all
"C:\Program Files\FileBot\filebot.exe" -rename D:\Filebot\Original --db file --format "{media.ContentType}/{media.Collection.replaceAll(/[:|]/, \"_\")}/Season {media.Season.pad(2)}/{media.Collection.replaceAll(/[:|]/, \"_\")} - S{media.Season.pad(2)}E{media.Part.pad(2)} - [b]{media.Track name}[/b]" --action test --output D:\Filebot\New --log-file D:\Filebot\log.txt
Code: Select all
D:\Filebot>filebot
Locking D:\Filebot\log.txt
SyntaxError: unable to resolve class media.Track
javax.script.ScriptException: SyntaxError: unable to resolve class media.Track
at net.filebot.format.ExpressionFormat.compile(ExpressionFormat.java:85)
at net.filebot.format.ExpressionFormat.<init>(ExpressionFormat.java:43)
at net.filebot.format.ExpressionFileFormat.<init>(ExpressionFileFormat.java:13)
at net.filebot.cli.ArgumentBean.getExpressionFileFormat(ArgumentBean.java:255)
at net.filebot.cli.ArgumentProcessor.runCommand(ArgumentProcessor.java:124)
at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:33)
at net.filebot.Main.main(Main.java:132)
Error (o_O)