AMC going completely rogue

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
elcaron
Posts: 9
Joined: 04 Oct 2015, 21:01

AMC going completely rogue

Post by elcaron »

I don't know if this is a strange accumulation of unfortunate incidents, but for a while, AMC hasn't given me any useful discovery. Family Guy got identified as the movie "Malavita, the Family" and Game of Thrones (named "got") as Gotham. Now those may still make kind of sense, But in a few cases, the season/epsiode detection doesn't make any sense at all. Right now I got

Code: Select all

Rename episodes using [TheTVDB]
Auto-detected query: [Turn]
Fetching episode data for [TURN: Washington's Spies]
Fetching episode data for [Turn-On]
Fetching episode data for [Turn A Gundam]
Fetching episode data for [The Night Shift]
Fetching episode data for [T-Bag]
Apply Filter: {csv('/media/dataext/blacklist-list.csv').get(n) != 'no' && (csv('/media/dataext/blacklist-list.csv').get(n) == 'yes' || (!model.any{ csv('/media/dataext/blacklist-list.csv').get(it.n) == 'yes' } && (age < 4 || !model.any{ it.age < 4 })))}
Include [TURN: Washington’s Spies - 3x07 - Judgment]
Include [The Night Shift - 3x02 - The Thing With Feathers (2)]
Stripping invalid characters from new path: /media/dataext/video/Series/TURN: Washington’s Spies/Season 03/TURN.Washington’s.Spies.S03E07.Judgment.720p.HDTV.KILLERS
[MOVE] Rename [/data/video/Downloads/download.serienjunkies.org_f-0036eccf14793dea_ul_TRN7P307.html/Turn.S03E07.720p.HDTV.x264-KILLERS.mkv] to [/media/dataext/video/Series/TURN Washington’s Spies/Season 03/TURN.Washington’s.Spies.S03E07.Judgment.720p.HDTV.KILLERS.mkv]
I don't see ANY reason why this was changed from E06 to E07. I had more of these season/episode problems in the last few days. In the beginning, I had filebot 4.6 without any filter, then yesterday I upgraded to the recent version and added the filter shown above without any notable change.
The csv only contains

Code: Select all

Doctor Who (2005);yes
Doctor Who (2009);no
Sherlock;yes
I have no idea what else I could have changed. This worked for month before.
Last edited by elcaron on 10 Jun 2016, 05:31, edited 2 times in total.
User avatar
rednoah
The Source
Posts: 23933
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: AMC going completely rogue

Post by rednoah »

Have you tried re-running the same call without your filter?

Also, the log looks fine. Series name and episode number seem to match just fine.
:idea: Please read the FAQ and How to Request Help.
elcaron
Posts: 9
Joined: 04 Oct 2015, 21:01

Re: AMC going completely rogue

Post by elcaron »

Yes, it is the same without the filter.
User avatar
rednoah
The Source
Posts: 23933
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: AMC going completely rogue

Post by rednoah »

Series name and episode number seem to match just fine.
Please explain why you think that this is a bad match:

Code: Select all

Turn.S03E07.720p.HDTV.x264-KILLERS.mkv
TURN Washington’s Spies/Season 03/TURN.Washington’s.Spies.S03E07.Judgment.720p.HDTV.KILLERS.mkv
:idea: Please read the FAQ and How to Request Help.
elcaron
Posts: 9
Joined: 04 Oct 2015, 21:01

Re: AMC going completely rogue

Post by elcaron »

Sorry, because I am stupid and posted the wrong log

Code: Select all

Rename episodes using [TheTVDB]
Auto-detected query: [Turn]
Fetching episode data for [TURN: Washington's Spies]
Fetching episode data for [Turn-On]
Fetching episode data for [Turn A Gundam]
Fetching episode data for [The Night Shift]
Fetching episode data for [T-Bag]
Apply Filter: {csv('/media/dataext/blacklist-list.csv').get(n) != 'no' && (csv('/media/dataext/blacklist-list.csv').get(n) == 'yes' || (!model.any{ csv('/media/dataext/blacklist-list.csv').get(it.n) == 'yes' } && (age < 4 || !model.any{ it.age < 4 })))}
Include [TURN: Washington’s Spies - 3x07 - Judgment]
Include [The Night Shift - 3x02 - The Thing With Feathers (2)]
Stripping invalid characters from new path: /media/dataext/video/Series/TURN: Washington’s Spies/Season 03/TURN.Washington’s.Spies.S03E07.Judgment.720p.HDTV.FLEET
[MOVE] Rename [/data/video/Downloads/download.serienjunkies.org_f-bb62750db21fbb56_ul_TRN7P306.html/Turn.S03E06.720p.HDTV.x264-FLEET.mkv] to [/media/dataext/video/Series/TURN Washington’s Spies/Season 03/TURN.Washington’s.Spies.S03E07.Judgment.720p.HDTV.FLEET.mkv]
So, essentially, I ended up with two times episode 07.
User avatar
rednoah
The Source
Posts: 23933
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: AMC going completely rogue

Post by rednoah »

1.
Your filter limits filebot to pick the best option out of the following options:

Code: Select all

Include [TURN: Washington’s Spies - 3x07 - Judgment]
Include [The Night Shift - 3x02 - The Thing With Feathers (2)]
--filter is a double-edged sword. If your filter rules out the correct option, then FileBot can't but pick a bad option (assuming -non-strict is set, otherwise I'd just fail).


Your age filter limits you to processing files within 4 days of release, unless there has not been a release within 4 days:

Code: Select all

age < 4 || !model.any{ it.age < 4 }
You probably processed Episode 6 within 4 days of the release of Episode 7 which means you are forcing Episode 7 because your filter rules out everything older than 4 days.


2.
Yes, it is the same without the filter.
Lies... unless more logs are presented that prove otherwise. :lol:
:idea: Please read the FAQ and How to Request Help.
elcaron
Posts: 9
Joined: 04 Oct 2015, 21:01

Re: AMC going completely rogue

Post by elcaron »

That absolutely makes sense. I was always under the impression that age was measured in years, not in days. Then, the suggestion I read here is pretty bold, but of course it makes sense that the detection rate is almost 100%, then.

Regarding the filter ... I was sure I had that problem before I switched the filter on. Actually, I thought I switched it on because of that, but then I confused it with the GOT<->Gotham thing. Should have run another test. Guess I owe you a donation. Get a beer on me :)
User avatar
rednoah
The Source
Posts: 23933
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: AMC going completely rogue

Post by rednoah »

The age filter is supposed to make things like this possible, so you can match files based on airdate even if the SxE numbers are completely misleading:
viewtopic.php?f=6&t=3871

e.g.

Code: Select all

American.Dad.S12E20.XviD-AFG.avi => American Dad - 13x18 - Mine Struggle
(this is a correct match, seriously)
:idea: Please read the FAQ and How to Request Help.
Post Reply