I found a movie case that challenge Automated Media Center script

The movie "Voyage au centre de la Terre" ("Journey to the Center of the Earth" for english name) have been released by 3 different production the same year (2008) :
- https://www.themoviedb.org/movie/45361
https://www.themoviedb.org/movie/88751
https://www.themoviedb.org/movie/16929
I know my movie is tmdbid:88751, but in non-strict mode it returns tmdbid:45361
I tried with --filter "tmdbid == 88751" without any success, tmdbid seem's not to be accessible here.
I know that by GUI I'll find it, but I want to use fn:amc if possible to keep my configuration and post-script execution (--def exec)
In strict mode (original error, request non-strict mode) :
Code: Select all
+ filebot -script fn:amc '/movie/Voyage Au Centre De La Terre (2008).avi' --log fine --log-file /var/services/homes/admeden/amc_test.log --action test --filter 'println json; true' --conflict fail --lang fr --encoding UTF-8 --def mylang=FR output=/movie/ music=n artwork=y backdrops=y clean=n storeReport=n minLengthMS=180000 ut_label=Movie movieFormat=@movieFormat_test.groovy seriesFormat=@seriesFormat_test.groovy animeFormat=@animeFormat_test.groovy musicFormat=@musicFormat_test.groovy
Locking /var/services/homes/admeden/amc_test.log
Run script [fn:amc] at [Sat Jun 04 01:03:06 GMT+01:00 2016]
Rename movies using [TheMovieDB]
Auto-detect movie from context: [/movie/Voyage Au Centre De La Terre (2008).avi]
Apply Filter: {println json; true}
{"@type":"net.filebot.web.Movie","year":2008,"imdbId":-1,"tmdbId":45361,"language":"fr","id":45361,"name":"Voyage Au Centre De La Terre","aliasNames":["Journey to the Center of the Earth"]}
{"@type":"net.filebot.web.Movie","year":2008,"imdbId":-1,"tmdbId":88751,"language":"fr","id":88751,"name":"Voyage au centre de la Terre","aliasNames":["Journey to the Center of the Earth"]}
{"@type":"net.filebot.web.Movie","year":2008,"imdbId":-1,"tmdbId":16929,"language":"fr","id":16929,"name":"Journey to the Center of the Earth","aliasNames":[]}
CmdlineException: [null/Voyage Au Centre De La Terre (2008).avi] Multiple options: Force auto-select requires non-strict matching: [Voyage Au Centre De La Terre (2008), Voyage au centre de la Terre (2008)]
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: journey to the center of the earth 2008
Code: Select all
$ filebot -script fn:amc -non-strict '/movie/Voyage Au Centre De La Terre (2008).avi' --log fine --log-file amc_test.log --action test --filter 'println json; true' --conflict fail --lang fr --encoding UTF-8 --def mylang=FR output=/movie/ music=n artwork=y backdrops=y clean=n storeReport=n minLengthMS=180000 ut_label=Movie movieFormat=@movieFormat_test.groovy seriesFormat=@seriesFormat_test.groovy animeFormat=@animeFormat_test.groovy musicFormat=@musicFormat_test.groovy
Locking /var/services/homes/admeden/amc_test.log
Run script [fn:amc] at [Sat Jun 04 00:13:38 GMT+01:00 2016]
Rename movies using [TheMovieDB]
Auto-detect movie from context: [/movie/Voyage Au Centre De La Terre (2008).avi]
Apply Filter: {println json; true}
{"@type":"net.filebot.web.Movie","year":2008,"imdbId":-1,"tmdbId":45361,"language":"fr","id":45361,"name":"Voyage Au Centre De La Terre","aliasNames":["Journey to the Center of the Earth"]}
{"@type":"net.filebot.web.Movie","year":2008,"imdbId":-1,"tmdbId":88751,"language":"fr","id":88751,"name":"Voyage au centre de la Terre","aliasNames":["Journey to the Center of the Earth"]}
{"@type":"net.filebot.web.Movie","year":2008,"imdbId":-1,"tmdbId":16929,"language":"fr","id":16929,"name":"Journey to the Center of the Earth","aliasNames":[]}
[TEST] Rename [/movie/Voyage Au Centre De La Terre (2008).avi] to [/movie/Voyage Au Centre De La Terre (Journey to the Center of the Earth) (2008 PG-13)/Voyage Au Centre De La Terre (2008) [1080p, HEVC, DTS, 6ch, FR].avi]
Processed 1 files