Several movies matching against the same movie

Support for Windows users
Post Reply
PhilxRG
Posts: 4
Joined: 18 Dec 2020, 16:09

Several movies matching against the same movie

Post by PhilxRG »

I need help to understand what's happening that filebot amc script is getting wrong matches for a few movies. My assumption is that's something related to how the movies are named and is causing filebot to match the same movie.

I'm using a very basic script to see if I can find the issue:

Code: Select all

filebot -script fn:amc --output "E:/Test" ".\COMANDOTORRENTS.ORG - Ford vs. Ferrari 2020 [1080p] [DUAL]" --action test --def movieFormat="E:/Test/{ny}/{ny}" -non-strict > E:/Test/amc.log
See example below

Code: Select all

Run script [fn:amc] at [Sun Dec 20 14:45:36 BRT 2020]
Argument[0]: E:\Torrents\Completo\Filmes\COMANDOTORRENTS.ORG - Ford vs. Ferrari 2020 [1080p] [DUAL]
Input: E:\Torrents\Completo\Filmes\COMANDOTORRENTS.ORG - Ford vs. Ferrari 2020 [1080p] [DUAL]\COMANDO.TO - Ford.vs.Ferrari.2020.1080p.BluRay.x264-DUAL.mkv
Input: E:\Torrents\Completo\Filmes\COMANDOTORRENTS.ORG - Ford vs. Ferrari 2020 [1080p] [DUAL]\COMANDO.TO - Ford.vs.Ferrari.2020.1080p.BluRay.x264-DUAL.srt
xattr: [COMANDO.TO - Ford.vs.Ferrari.2020.1080p.BluRay.x264-DUAL.mkv] => [Comando (2010)]
xattr: [COMANDO.TO - Ford.vs.Ferrari.2020.1080p.BluRay.x264-DUAL.srt] => [Comando (2010)]
Group: {Movie=Comando (2010)} => [COMANDO.TO - Ford.vs.Ferrari.2020.1080p.BluRay.x264-DUAL.mkv, COMANDO.TO - Ford.vs.Ferrari.2020.1080p.BluRay.x264-DUAL.srt]
Rename movies using [TheMovieDB]
Auto-detect movie from context [E:\Torrents\Completo\Filmes\COMANDOTORRENTS.ORG - Ford vs. Ferrari 2020 [1080p] [DUAL]\COMANDO.TO - Ford.vs.Ferrari.2020.1080p.BluRay.x264-DUAL.mkv]
[TEST] from [E:\Torrents\Completo\Filmes\COMANDOTORRENTS.ORG - Ford vs. Ferrari 2020 [1080p] [DUAL]\COMANDO.TO - Ford.vs.Ferrari.2020.1080p.BluRay.x264-DUAL.mkv] to [E:\Test\Movies\Comando (2010)\Comando (2010).mkv]
[TEST] from [E:\Torrents\Completo\Filmes\COMANDOTORRENTS.ORG - Ford vs. Ferrari 2020 [1080p] [DUAL]\COMANDO.TO - Ford.vs.Ferrari.2020.1080p.BluRay.x264-DUAL.srt] to [E:\Test\Movies\Comando (2010)\Comando (2010).por.srt]
Processed 2 files
Finished without processing any files
Abort (Î_Î)
Seems to be related to the word "COMANDO" because a bunch of movies comes with this name and they are matched against the same movie "Comando (2010)". But not every movie has this behavior, this is what bothers me.

This also happens with the GUI, the first match is "Comando (2010)" and usually the second match being the right one
User avatar
rednoah
The Source
Posts: 23930
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Several movies matching against the same movie

Post by rednoah »

You might need to pre-process the files with Plain File Mode and remove the misleading COMANDOTORRENTS.ORG part.
:idea: Please read the FAQ and How to Request Help.
PhilxRG
Posts: 4
Joined: 18 Dec 2020, 16:09

Re: Several movies matching against the same movie

Post by PhilxRG »

I see, so i'll need to run two scripts? One to pre-process the files to remove the misleading parts and another to process the files? or can I use just one script?

I guess I understood how the Plain File Mode works but I'm not sure how to use it on the command line
User avatar
rednoah
The Source
Posts: 23930
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Several movies matching against the same movie

Post by rednoah »

PhilxRG wrote: 21 Dec 2020, 04:50 I see, so i'll need to run two scripts? One to pre-process the files to remove the misleading parts and another to process the files?
That would make things easier. Since each script can be understood by itself. The first script also doesn't necessary need filebot. Any generic rename tool will do. But since this is the FileBot Forums, here's how a FileBot users would do it:

Code: Select all

filebot -rename -r /input --db file --format "{fn.removeAll(/COMANDOTORRENTS.ORG/)}" --output /path/to/FileBot
:idea: You'll want to use an English folder structure, because FileBot knows to ignore keywords such as FileBot or Complete, but not necessarily their Portuguese equivalents.


PhilxRG wrote: 21 Dec 2020, 04:50 or can I use just one script?
If you write a custom --q expression, then this might be possible, but more tricky to figure out and understand.
:idea: Please read the FAQ and How to Request Help.
Post Reply