$ /usr/local/bin/filebot -script fn:amc --action test --output /Media --conflict skip --log-file amc.log --def artwork=y 'exec=chmod 664 {quote file}' --def @/scripts/pushover.txt --def movieFormat=@/scripts/movieFormat.groovy --def seriesFormat=@/scripts/seriesFormat.groovy /downloads/movies/Message.from.the.King.2016.1080p.BluRay.DD5.1.x264-DON
Locking /opt/filebot/data/logs/amc.log
Run script [fn:amc] at [Tue Feb 13 19:34:29 CET 2018]
Parameter: subtitles = en
Parameter: artwork = y
Parameter: exec = chmod 664 {quote file}
Parameter: pushover = *****
Parameter: movieFormat = { long movie format }
Parameter: seriesFormat = { long series format }
Argument[0]: /downloads/movies/Message.from.the.King.2016.1080p.BluRay.DD5.1.x264-DON
Input: /downloads/movies/Message.from.the.King.2016.1080p.BluRay.DD5.1.x264-DON/Message.from.the.King.2016.1080p.BluRay.DD5.1.x264-DON.mkv
Group: [mov:message from the king 2017] => [Message.from.the.King.2016.1080p.BluRay.DD5.1.x264-DON.mkv]
Rename movies using [TheMovieDB]
Auto-detect movie from context: [/downloads/movies/Message.from.the.King.2016.1080p.BluRay.DD5.1.x264-DON/Message.from.the.King.2016.1080p.BluRay.DD5.1.x264-DON.mkv]
CmdlineException: Failed to identify or process any files
Finished without processing any files
Failure (°_°)
Topic can be closed, the movie wasn't being identified because of the year [2016 on the file and IMDB vs 2017 on TheMovieDB].
The error message however is a bit vague and it took me a while to spot the inconsistency.
I only work in black and sometimes very, very dark grey. (Batman)
Yes, if you use strict mode then everything needs to match.
Using -mediainfo is useful for checking media info (codec, video properties, etc) but has nothing to do with movie matching or strict match sanity checks and thus won't help you narrow down the issue in that regard.
failed to match file "Message.from.the.King.2016.1080p.BluRay.DD5.1.x264-DON"
Potential matches "Message from the King 2017"...
...try NON-strict matching
Finished without processing any files
Failure (°_°)
Auto-detect movie from context: [Message.from.the.King.2016.1080p.BluRay.DD5.1.x264-DON.mkv]
Query Movie => [message from the king 2016]
Rank [Message from the King 2016] => [Message from the King (2017), This Changes Everything (2015), John Doe: Vigilante (2014), The Message (2009), The Message (1976), Sandesham (1991)]
CmdlineException: Failed to identify or process any files
Finished without processing any files
Unfortunately, better output in the CLI isn't as straight forward as it might seem, since strict mode is handled internally and doesn't return anything other than valid options, but not reasons for possible valid/invalid options.