Page 1 of 1

Change in the MyEpisodes script

Posted: 09 Feb 2015, 12:18
by kepler
The Script that updates aquired files to My episodes seems to have a problem with some series (Scandal, Hawaii Five-0). I played around a little bit and by changing the collationKey function from:

Code: Select all

def collationKey = { s -> s == null ? '' : s.removeAll(/^(?i)(The|A)\b/).removeAll(/(?<!\d)\d{4}$/).removeAll(/\W/).lower() }
to:

Code: Select all

def collationKey = { s -> s == null ? '' : s.removeAll(/^(?i)(The|A)\b/).removeAll(/\(?\d{4}\)?$/).removeAll(/\W/).lower() }
it seems to work. Hope that this helps, or an other fix is incorporated in the code.

Re: Change in the MyEpisodes script

Posted: 21 Feb 2015, 18:14
by rednoah
I've added that change to the devel branch.