I'm having an odd issue with renaming TV Shows where it is grabbing the absolute number in preference over the normal number, even though I've told it to use the normal episode number instead.
Example: This is what I'm using...
Code: Select all
{norm = {it.upperInitial().lowerTrail().replaceAll(/[`´‘’ʻ""“”]/, "'").replaceAll(/[:|]/, " - ").replaceAll(/[?]/, "!").replaceAll(/[*\s]+/, " ").replaceFirst(/^(?i)(The)\s(.+)/, /$2, $1/)}; norm(n)}{if (norm(n) != norm(primaryTitle)) ' ('+norm(primaryTitle)+')'} ({y}{" $certification"})/{episode.special ? 'Special' : 'Season '+s.pad(2)}/{norm(n)} {episode.special ? 'S00E'+special.pad(2) : s00e00} {norm(t)}{" [$vf $vc $ac $af]"}
Not Working Episode: http://thetvdb.com/?tab=episode&seriesi ... 1121&lid=7
For S03E02 of White Collar (which does not include an absolute number on TheTVDB), it correctly puts it in a folder called 'Season 03', and includes 'S03E02' in the name.
i.e. "X:\TV Shows\White Collar (2009 TV-14)\Season 03\White Collar S03E02 Where There's A Will [360p XviD MP3 2ch].avi"
For S03E01 of White Collar (which DOES include an absolute number on TheTVDB), it shows it as 'E31' and throws it in the root show directory.
i.e. "X:\TV Shows\White Collar (2009 TV-14)\White Collar E31 On Guard [360p XviD MP3 2ch]"
Then, for shows where every episode also lists an absolute number (like The Walking Dead - http://thetvdb.com/?tab=seasonall&id=153021&lid=7), it wants to do the latter for all of them.
i.e. What should be this: "X:\TV Shows\Walking Dead, The (2010 TV-14)\Season 04\Walking Dead, The S04E04 Indifference [720p x264 AC3 6ch].mkv"
Instead becomes this: "X:\TV Shows\Walking Dead, The (2010 TV-14)\Walking Dead, The E39 Indifference [720p x264 AC3 6ch].mkv"
Absolute numbering is great for Animes where I want absolute numbering, but for TV Shows, I need the season based number (which I thought is what I set it to get), lol.
Any idea what's going on here, or how to fix it? :-/
~Ithiel