FileBot 4.7 seem's have some regression while trying to rename file with fn:amc in strict mode and lang FR (I did not have this problem with previous version 4.6.1)
My FileBot version :
Code: Select all
$> filebot -version
FileBot 4.7 (r3923) / Java(TM) SE Runtime Environment 1.8.0_91 (headless)
Code: Select all
$> filebot -script "fn:amc" --log "all" --action "test" --conflict "fail" --lang "fr" --encoding "UTF-8" --def movieFormat="{n}" "Le grand jeu (2015).avi"
Run script [fn:amc] at [Mon May 09 21:43:29 GMT+01:00 2016]
Parameter: movieFormat = {n}
Argument: /movie/Le grand jeu (2015).avi
Input: /movie/Le grand jeu (2015).avi
Le grand jeu (2015).avi [series: Grand, movie: The Great Game (2015)]
Exclude Series: Grand
Group: [tvs:null, mov:the great game 2015] => [Le grand jeu (2015).avi]
Rename movies using [TheMovieDB]
Auto-detect movie from context: [/movie/Le grand jeu (2015).avi]
CmdlineException: [null/Le grand jeu (2015).avi] Multiple options: Force auto-select requires non-strict matching: [Le Grand jeu (2015), Le Grand Jeu (2015)]
Failed to identify or process any files
net.filebot.cli.CmdlineException: Failed to identify or process any files
at net.filebot.cli.CmdlineOperations.renameAll(CmdlineOperations.java:590)
at net.filebot.cli.CmdlineOperations.renameMovie(CmdlineOperations.java:502)
at net.filebot.cli.CmdlineOperations.rename(CmdlineOperations.java:105)
at net.filebot.cli.ScriptShellBaseClass.rename(ScriptShellBaseClass.java:336)
at Script1$_run_closure72.doCall(Script1.groovy:398)
at Script1.run(Script1.groovy:356)
at net.filebot.cli.ScriptShell.evaluate(ScriptShell.java:62)
at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:72)
at net.filebot.cli.ArgumentProcessor.runScript(ArgumentProcessor.java:114)
at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:29)
at net.filebot.Main.main(Main.java:120)
Failed to rename movie: the great game 2015
Failure (°_°)
With the name set in english (Le Grand Jeu => The Great Game)
Code: Select all
$> filebot -script "fn:amc" --log "all" --action "test" --conflict "fail" --l ang "fr" --encoding "UTF-8" --def movieFormat="{n}" "The Great Game (2015).avi"
Run script [fn:amc] at [Mon May 09 21:56:05 GMT+01:00 2016]
Parameter: movieFormat = {n}
Argument: /movie/The Great Game (2015).avi
Input: /movie/The Great Game (2015).avi
The Great Game (2015).avi [series: Game, movie: The Great Game (2015)]
Exclude Series: Game
Group: [tvs:null, mov:the great game 2015] => [The Great Game (2015).avi]
Rename movies using [TheMovieDB]
Auto-detect movie from context: [/movie/The Great Game (2015).avi]
CmdlineException: [null/The Great Game (2015).avi] Multiple options: Force auto-select requires non-strict matching: [The Next Great American Game (2015), Le Grand jeu (2015), The Devil's Game (2008), The Game (1997), Mystery, Alaska (1999), Game (2011), Alpha et Oméga 3 : les grands jeux (2014), Game (2003), Great! (1986)]
Failed to identify or process any files
net.filebot.cli.CmdlineException: Failed to identify or process any files
at net.filebot.cli.CmdlineOperations.renameAll(CmdlineOperations.java:590)
at net.filebot.cli.CmdlineOperations.renameMovie(CmdlineOperations.java:502)
at net.filebot.cli.CmdlineOperations.rename(CmdlineOperations.java:105)
at net.filebot.cli.ScriptShellBaseClass.rename(ScriptShellBaseClass.java:336)
at Script1$_run_closure72.doCall(Script1.groovy:398)
at Script1.run(Script1.groovy:356)
at net.filebot.cli.ScriptShell.evaluate(ScriptShell.java:62)
at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:72)
at net.filebot.cli.ArgumentProcessor.runScript(ArgumentProcessor.java:114)
at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:29)
at net.filebot.Main.main(Main.java:120)
Failed to rename movie: the great game 2015
Failure (°_°)

Code: Select all
$> filebot -script "fn:amc" --log "all" --action "test" --conflict "fail" --e ncoding "UTF-8" --def movieFormat="{n}" "The Great Game (2015).avi"
Run script [fn:amc] at [Mon May 09 21:58:18 GMT+01:00 2016]
Parameter: movieFormat = {n}
Argument: /movie/The Great Game (2015).avi
Input: /movie/The Great Game (2015).avi
The Great Game (2015).avi [series: Game, movie: The Great Game (2015)]
Exclude Series: Game
Group: [tvs:null, mov:the great game 2015] => [The Great Game (2015).avi]
Rename movies using [TheMovieDB]
Auto-detect movie from context: [/movie/The Great Game (2015).avi]
[TEST] Rename [/movie/The Great Game (2015).avi] to [/movie/The Great Game.avi]
Processed 1 files
Done ヾ(@⌒ー⌒@)ノ
Code: Select all
$> filebot -script "fn:amc" --log "all" --action "test" --conflict "fail" --l ang "fr" --encoding "UTF-8" -non-strict --def movieFormat="{n}" "Le grand jeu (2015).avi"
Run script [fn:amc] at [Mon May 09 22:03:55 GMT+01:00 2016]
Parameter: movieFormat = {n}
Argument: /movie/Le grand jeu (2015).avi
Input: /movie/Le grand jeu (2015).avi
Le grand jeu (2015).avi [series: Grand, movie: The Great Game (2015)]
Exclude Series: Grand
Group: [tvs:null, mov:the great game 2015] => [Le grand jeu (2015).avi]
Rename movies using [TheMovieDB]
Auto-detect movie from context: [/movie/Le grand jeu (2015).avi]
[TEST] Rename [/movie/Le grand jeu (2015).avi] to [/movie/Le Grand jeu.avi]
Processed 1 files
Done ヾ(@⌒ー⌒@)ノ