File not processed by AMC

Any questions? Need some help?
Post Reply
devster
Posts: 417
Joined: 06 Jun 2017, 22:56

File not processed by AMC

Post by devster »

I'm encountering the following issue:

Code: Select all

$ /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 (°_°)
However when I tried:

Code: Select all

$ filebot -mediainfo .
Message.from.the.King.2016.1080p.BluRay.DD5.1.x264-DON [1920x804 x264 5.1 AC3 1:42]
It seems to have recognized it.
I only work in black and sometimes very, very dark grey. (Batman)
devster
Posts: 417
Joined: 06 Jun 2017, 22:56

Re: File not processed by AMC

Post by devster »

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)
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: File not processed by AMC

Post by rednoah »

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. ;)
:idea: Please read the FAQ and How to Request Help.
devster
Posts: 417
Joined: 06 Jun 2017, 22:56

Re: File not processed by AMC

Post by devster »

I know -mediainfo doesn't check for the matching with online databases, but my first interpretation of this message:

Code: Select all

CmdlineException: Failed to identify or process any files
was that somehow the file wasn't being recognized as a video file at all.
I only work in black and sometimes very, very dark grey. (Batman)
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: File not processed by AMC

Post by rednoah »

Yes. It could mean anything. It's just checking if anything was processed at the end and if 0 files have been processed, then it'll just error out.
:idea: Please read the FAQ and How to Request Help.
kim
Power User
Posts: 1251
Joined: 15 May 2014, 16:17

Re: File not processed by AMC

Post by kim »

I think it was a request for better error output ?

from e.g.

Code: Select all

CmdlineException: Failed to identify or process any files
Finished without processing any files
Failure (°_°)
to e.g.

Code: Select all

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 (°_°)
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: File not processed by AMC

Post by rednoah »

I see. Debug logging does help in this case:

Code: Select all

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.
:idea: Please read the FAQ and How to Request Help.
Post Reply