AMC Script matching issues with Peacemaker

Any questions? Need some help?
Post Reply
pandiloko
Posts: 10
Joined: 09 Jan 2018, 23:00

AMC Script matching issues with Peacemaker

Post by pandiloko »

Hello rednoah,

I had a wrong match with multiple episodes (not all of them) of the recent Peacemaker TV show.

I use FileBot 4.9.4 (r8736) JDK8 / OpenJDK Runtime Environment 1.8.0_312 running in an Ubuntu 20.04 container.

Here is my command for the latest one:

Code: Select all

/usr/bin/filebot -script fn:amc -non-strict --def 'movieFormat=/stuff/{plex}' 'seriesFormat=/stuff/{plex}' 'animeFormat=/stuff/other/{plex}' music=n excludeList=/home/watcher/log/amc-exclude.txt subtitles=en --log-file /home/watcher/log/amc.log --conflict auto --lang en --log all --output /home/watcher --action copy '/home/watcher/media/Peacemaker.2022.S01E08.1080p.WEB.H264-CAKES[rarbg]'
And here is the generated log:

Code: Select all

Run script [fn:amc] at [Sat Feb 19 20:48:47 UTC 2022]
Parameter: movieFormat = /stuff/{plex}
Parameter: seriesFormat = /stuff/{plex}
Parameter: animeFormat = /stuff/other/{plex}
Parameter: music = n
Parameter: excludeList = /home/watcher/log/amc-exclude.txt
Parameter: subtitles = en
Argument[0]: /home/watcher/media/Peacemaker.2022.S01E08.1080p.WEB.H264-CAKES[rarbg]
Use excludes: /home/watcher/log/amc-exclude.txt (6)
Input: /home/watcher/media/Peacemaker.2022.S01E08.1080p.WEB.H264-CAKES[rarbg]/peacemaker.2022.s01e08.1080p.web.h264-cakes.mkv
Group: {Series=peacemaker} => [peacemaker.2022.s01e08.1080p.web.h264-cakes.mkv]
Get [English] subtitles for 1 files
Please enter your login details by calling `filebot -script fn:configure`
Rename episodes using [TheTVDB] with [Airdate]
Lookup via [Peacemaker, peacemaker 2022]
Fetching episode data for [Peacemaker]
Fetching episode data for [Peacemakers]
Fetching episode data for [Peacemaker (2020)]
Fetching episode data for [Peacemakers (2017)]
[COPY] from [/home/watcher/media/Peacemaker.2022.S01E08.1080p.WEB.H264-CAKES[rarbg]/peacemaker.2022.s01e08.1080p.web.h264-cakes.mkv] to [/stuff/TV Shows/Peacemaker (2020)/Season 01/Peacemaker (2020) - S01E08 - A new age.mkv]
Processed 1 file
As you can see it is matching a show from 2020 with the same name (dammit!) although it has the year in the query and the more recent show is way more popular.

What is the easiest way to handle wrong matches?

I tried adding --mode interactive and selecting the right match. That renamed the file correctly but then copied it to the show folder "Peacemaker", without the year, whereas other episodes were copied to "Peacemaker (2022)". Did I just have bad luck with this one?

Code: Select all

/usr/bin/filebot -script fn:amc -non-strict --def 'movieFormat=/stuff/{plex}' 'seriesFormat=/stuff/{plex}' 'animeFormat=/stuff/other/{plex}' music=n subtitles=en --log-file /home/watcher/log/amc.log --conflict auto --lang en --log all --output /home/watcher --action copy '/home/watcher/media/Peacemaker.2022.S01E08.1080p.WEB.H264-CAKES[rarbg]' --mode interactive
Run script [fn:amc] at [Sun Feb 20 02:45:25 UTC 2022]
Parameter: movieFormat = /stuff/{plex}
Parameter: seriesFormat = /stuff/{plex}
Parameter: animeFormat = /stuff/other/{plex}
Parameter: music = n
Parameter: subtitles = en
Argument[0]: /home/watcher/media/Peacemaker.2022.S01E08.1080p.WEB.H264-CAKES[rarbg]
Input: /home/watcher/media/Peacemaker.2022.S01E08.1080p.WEB.H264-CAKES[rarbg]/peacemaker.2022.s01e08.1080p.web.h264-cakes.mkv
Group: {Series=peacemaker} => [peacemaker.2022.s01e08.1080p.web.h264-cakes.mkv]
Get [English] subtitles for 1 files
Please enter your login details by calling `filebot -script fn:configure`
Rename episodes using [TheTVDB] with [Airdate]
Lookup via [Peacemaker, peacemaker 2022]
Fetching episode data for [Peacemaker]
[COPY] from [/home/watcher/media/Peacemaker.2022.S01E08.1080p.WEB.H264-CAKES[rarbg]/peacemaker.2022.s01e08.1080p.web.h264-cakes.mkv] to [/stuff/TV Shows/Peacemaker/Season 01/Peacemaker - S01E08 - It's Cow or Never.mkv]
Processed 1 file
Done ヾ(@⌒ー⌒@)ノ
And here the log from Ep1. It even added the year in the filename as well.

Code: Select all

Run script [fn:amc] at [Mon Jan 17 02:07:00 UTC 2022]
Parameter: movieFormat = /home/watcher/archive/{plex}
Parameter: seriesFormat = /home/watcher/archive/{plex}
Parameter: animeFormat = /home/watcher/archive/{plex}
Parameter: music = n
Parameter: excludeList = /home/watcher/log/amc-exclude.txt
Parameter: subtitles = en
Argument[0]: /home/watcher/media/Peacemaker.2022.S01E01.1080p.WEB.H264-CAKES[rarbg]
Use excludes: /home/watcher/log/amc-exclude.txt (7)
Input: /home/watcher/media/Peacemaker.2022.S01E01.1080p.WEB.H264-CAKES[rarbg]/peacemaker.2022.s01e01.1080p.web.h264-cakes.mkv
Group: {Series=peacemaker 2022} => [peacemaker.2022.s01e01.1080p.web.h264-cakes.mkv]
Get [English] subtitles for 1 files
Please enter your login details by calling `filebot -script fn:configure`
Rename episodes using [TheTVDB] with [Airdate]
Lookup via [peacemaker 2022]
Fetching episode data for [Peacemaker]
Fetching episode data for [Peacemaker (2020)]
[COPY] from [/home/watcher/media/Peacemaker.2022.S01E01.1080p.WEB.H264-CAKES[rarbg]/peacemaker.2022.s01e01.1080p.web.h264-cakes.mkv] to [/home/watcher/archive/TV Shows/Peacemaker (2022)/Season 01/Peacemaker (2022) - S01E01 - A Whole New Whirled.mkv]
Processed 1 file
Done ヾ(@⌒ー⌒@)ノ
So again: Is there a better way to handle wrong matches? and... What is going on with the year?

Thanks in advance for your great support.
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: AMC Script matching issues with Peacemaker

Post by rednoah »

Q: Which Peacemaker is Peacemaker (2022)? The one that is listed without year that started in Dec 2021?

Code: Select all

Fetching episode data for [Peacemaker]
Fetching episode data for [Peacemakers]
Fetching episode data for [Peacemaker (2020)]
Fetching episode data for [Peacemakers (2017)]
:arrow: No-Year Peacemaker seems to be the matching series you want:
https://thetvdb.com/series/peacemaker-2021


The --filter option can be used to preemptively allow / disallow certain matches based on arbitrary rules. Please read the Advanced Fine-Tuning section of the amc script documentation for one possible approach, and --filter documentation for other approaches.


:idea: If you're using FileBot Node, then there's a Advanced Fine-Tuning section as well with an age filter example:
viewtopic.php?t=2733



EDIT:

Alternatively, TheMovieDB::TV works better in this case because the database information better matches the files you have:

Code: Select all

--def seriesDB=TheMovieDB::TV
:idea: Please read the FAQ and How to Request Help.
Post Reply