Page 1 of 1

EpisodeBalancer and strict vs non-strict Problem

Posted: 20 May 2016, 13:58
by kim
When matching from air -> dvd or dvd -> air
airdate:
EpisodeFunnel 1,0000 => [D:\tv\Seinfeld - 2x12 - The Revenge.mkv, Seinfeld - 2x07 - The Revenge]
EpisodeFunnel 1,0000 => [D:\tv\Seinfeld - 2x12 - The Revenge.mkv, Seinfeld - 2x12 - The Busboy]
EpisodeBalancer 0,5000 => [D:\tv\Seinfeld - 2x12 - The Revenge.mkv, Seinfeld - 2x07 - The Revenge]
EpisodeBalancer 1,1000 => [D:\tv\Seinfeld - 2x12 - The Revenge.mkv, Seinfeld - 2x12 - The Busboy]
= sxe Win / title Lose = BAD
+ strict mode = not sure = should be NO match/rename = BAD

DVD:
EpisodeFunnel 1,0000 => [D:\tv\Seinfeld - 2x07 - The Revenge.mkv, Seinfeld - 2x07 - The Phone Message]
EpisodeFunnel 1,0000 => [D:\tv\Seinfeld - 2x07 - The Revenge.mkv, Seinfeld - 2x12 - The Revenge]
EpisodeBalancer 1,1000 => [D:\tv\Seinfeld - 2x07 - The Revenge.mkv, Seinfeld - 2x07 - The Phone Message]
EpisodeBalancer 0,5000 => [D:\tv\Seinfeld - 2x07 - The Revenge.mkv, Seinfeld - 2x12 - The Revenge]
= sxe Win / title Lose = BAD
+ strict mode = not sure = should be NO match/rename = BAD

DVD non-strict:
EpisodeFunnel 1,0000 => [D:\tv\Seinfeld - 2x07 - The Revenge.mkv, Seinfeld - 2x07 - The Phone Message]
EpisodeFunnel 1,0000 => [D:\tv\Seinfeld - 2x07 - The Revenge.mkv, Seinfeld - 2x12 - The Revenge]
EpisodeBalancer 1,1000 => [D:\tv\Seinfeld - 2x07 - The Revenge.mkv, Seinfeld - 2x07 - The Phone Message]
EpisodeBalancer 0,5000 => [D:\tv\Seinfeld - 2x07 - The Revenge.mkv, Seinfeld - 2x12 - The Revenge]
= sxe Win / title Lose = BAD
+non-strict mode = not sure = rename, but because of "sxe Win / title Lose" = BAD


airdate:
EpisodeFunnel 0,5000 => [D:\tv\Futurama.S01E10.A.Flight.To.Remember.mp4, Futurama - 1x09 - Hell Is Other Robots]
EpisodeFunnel 1,0000 => [D:\tv\Futurama.S01E10.A.Flight.To.Remember.mp4, Futurama - 2x01 - A Flight To Remember]
EpisodeFunnel 0,5000 => [D:\tv\Futurama.S01E10.A.Flight.To.Remember.mp4, Futurama - 2x10 - Put Your Head On My Shoulder]
Failed to match files to episode data
= correct title, but strict mode = not sure = OK

airdate non-strict:
EpisodeFunnel 0,5000 => [D:\tv\Futurama.S01E10.A.Flight.To.Remember.mp4, Futurama - 1x09 - Hell Is Other Robots]
EpisodeFunnel 1,0000 => [D:\tv\Futurama.S01E10.A.Flight.To.Remember.mp4, Futurama - 2x01 - A Flight To Remember]
EpisodeFunnel 0,5000 => [D:\tv\Futurama.S01E10.A.Flight.To.Remember.mp4, Futurama - 2x10 - Put Your Head On My Shoulder]
EpisodeFunnel 0,5000 => [D:\tv\Futurama.S01E10.A.Flight.To.Remember.mp4, Futurama - 3x10 - The Luck of the Fryrish]
= correct title & non-strict mode = best guess = OK

DVD:
EpisodeFunnel 0,5000 => [D:\tv\Futurama.S02E01.A.Flight.To.Remember.mp4, Futurama - 1x01 - Space Pilot 3000]
EpisodeFunnel 1,0000 => [D:\tv\Futurama.S02E01.A.Flight.To.Remember.mp4, Futurama - 1x10 - A Flight To Remember]
EpisodeFunnel 1,0000 => [D:\tv\Futurama.S02E01.A.Flight.To.Remember.mp4, Futurama - 2x01 - I Second That Emotion]
EpisodeFunnel 0,5000 => [D:\tv\Futurama.S02E01.A.Flight.To.Remember.mp4, Futurama - 2x02 - Brannigan, Begin Again]
EpisodeBalancer -0,1000 => [D:\tv\Futurama.S02E01.A.Flight.To.Remember.mp4, Futurama - 1x10 - A Flight To Remember]
EpisodeBalancer 1,1000 => [D:\tv\Futurama.S02E01.A.Flight.To.Remember.mp4, Futurama - 2x01 - I Second That Emotion]
= sxe Win / title Lose = BAD
+ strict mode = not sure = should be NO match/rename = BAD

Re: EpisodeBalancer and strict vs non-strict Problem

Posted: 20 May 2016, 15:55
by rednoah
strict/non-strict has no impact on the matching process. The difference is that after matching, strict mode will have strict sanity checks on the results and filter out the bad ones, while non-strict mode will just accept the results as is.

In this case, strict mode just checks that the SxE numbers match, which they do. It does not check for a potential mismatch in the episode title. That would be difficult for a variety of reasons and break use cases that are much more common than this artificial example.

In older versions episode title could override SxE numbers. That came with various issues and unpredictable / hard-to-understand behaviour. Newer versions will never yield a good SxE match to a (equally) good title match. That makes the whole process more stable and predictable, albeit at the cost of this specific use-case here.

Re: EpisodeBalancer and strict vs non-strict Problem

Posted: 20 May 2016, 17:51
by kim
1. Please try to match this (named in dvd order) and match it in air order:
"Seinfeld - 2x12 - The Revenge.mkv"
or
to match this (named in air order) and match it in dvd order:
"Seinfeld - 2x07 - The Revenge.mkv"

you will see it's very easy to f*ck up your files
(result wrong titles ALL over the place)

2. If you can't make it better with the title match,
will you then make a dvd <-> air order converter ?

2.1 or if no match found in air order try match in in dvd order


3. ask yourself, why do sxe AND title not match:
human error = can't fix that (local or online source problem)
if your order is in dvd order and try matching up to a air order or other way
can't think of more ?

Re: EpisodeBalancer and strict vs non-strict Problem

Posted: 20 May 2016, 18:28
by rednoah
Well, while Airdate SxE and DVD SxE episode numbers are different, I'm pretty sure that airdate is a common constant (and much more reliable than title). ;)

Solution:

Code: Select all

filebot -rename . --order airdate --format "{n} {airdate} {t}" && filebot -rename . --order dvd --format "{n} {s00e00} {t}"
You can pack that into a airdate2dvd.sh script ;)

Step 1:

Code: Select all

[MOVE] Rename [Firefly 1x01.mp4] to [Firefly 2002-09-20 The Train Job.mp4]
Step 2:

Code: Select all

[MOVE] Rename [Firefly 2002-09-20 The Train Job.mp4] to [Firefly S01E02 The Train Job.mp4]

The idea here is the same as the Anime absolute-to-sxe trick: viewtopic.php?f=3&t=2769