Episode Naming for "Specials"
Posted: 05 May 2019, 21:43
I have a set of Simpson DVDs that has all the episodes but It also has "SPECIALS".
I use this code to transform episodes:
But when it sorts through the "SPECIALS" episodes and the data I get back from TVDB, all I get is:
Thanks a lot for your help in advance.
I use this code to transform episodes:
Code: Select all
F:\My Videos\Animated Shows\{n.replace(':',' -').replaceTrailingBrackets()}\{'Season '+s}\{n.replace(':',' -').replaceTrailingBrackets()} - {s+'x'}{e.pad(2)} - {t.replace(':',' -').replaceAll(/[!?.*]+$/).replaceAll(/[`´‘’ʻ]/, "'").lowerTrail().replacePart(', Part $1')}
What I'd like to get is this:\Doctor Who\Doctor Who -- Twice Upon A Time.mp4
PLEX recognizes Season 0 as "SPECIALS" whereas it can figure this one out:\Doctor Who\Season 0\Doctor Who - 0x154 - Twice Upon A Time.mp4
What CODE do I use to accomplish this?\Doctor Who\Doctor Who -- Twice Upon A Time.mp4
Thanks a lot for your help in advance.