File not processed by AMC

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

File not processed by AMC

Post by devster » 13 Feb 2018, 18:48

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 [email protected]/scripts/movieFormat.groovy --def [email protected]/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)

User avatar
devster
Posts: 148
Joined: 06 Jun 2017, 22:56

Re: File not processed by AMC

Post by devster » 13 Feb 2018, 19:15

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: 13527
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: File not processed by AMC

Post by rednoah » 14 Feb 2018, 01:52

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. ;)
My (very excellent) support depends on Windows Store and Mac App Store sales and Patreon support. Paying users, donors and everyone who contributes to FileBot in one way or another will get the very best support.

:idea: Please read the FAQ and How to Request Help.

User avatar
devster
Posts: 148
Joined: 06 Jun 2017, 22:56

Re: File not processed by AMC

Post by devster » 14 Feb 2018, 09:01

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: 13527
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: File not processed by AMC

Post by rednoah » 15 Feb 2018, 01:16

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.
My (very excellent) support depends on Windows Store and Mac App Store sales and Patreon support. Paying users, donors and everyone who contributes to FileBot in one way or another will get the very best support.

:idea: Please read the FAQ and How to Request Help.

kim
Power User
Posts: 545
Joined: 15 May 2014, 16:17

Re: File not processed by AMC

Post by kim » 15 Feb 2018, 18:42

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: 13527
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: File not processed by AMC

Post by rednoah » 15 Feb 2018, 19:01

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.
My (very excellent) support depends on Windows Store and Mac App Store sales and Patreon support. Paying users, donors and everyone who contributes to FileBot in one way or another will get the very best support.

:idea: Please read the FAQ and How to Request Help.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests