Expression format problem
Posted: 18 Oct 2019, 05:03
Hi,
Using the following expression:
Yields the following error:
It seems to be the portion of the expression failing, as the expression works fine by hard coding the season directory. FWIW, I have even tried using and results in the error
Using the following expression:
Code: Select all
filebot -rename -r /rips/tv/Friends/Season\ 01/*.mkv --q "Friends" --db TheMovieDB::TV --action copy --format /rips/tv/{n}\ \({y}\){'/Season '+s}/{n}.{s00e00}.h264-AVC.{bitdepth}\ bit.{ac}\ \[{channels}\].{source}-{vf}
Code: Select all
SyntaxError: unexpected char: 0xFFFF
javax.script.ScriptException: SyntaxError: unexpected char: 0xFFFF
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)
Code: Select all
{'/Season '+s}
Code: Select all
{'/Season '+s.pad(2)}
Code: Select all
-bash: syntax error near unexpected token `('