Page 1 of 1

Special Episode with Filebot-Node

Posted: 09 Mar 2019, 22:28
by Predator2912
Hello Guys,

I've been using the Filebot node on my NAS for a while and that works great too.

But now I would like to extend my script or better the task i used so that "Speciale episodes" are recognized and automatically load in the Season folder and in a subfolder with the name "Specials".

How do I have to change the line for this?

Code: Select all

{ny}/Season {s.pad(2)}/{ny} - {'S'+s.pad(2)}E{e.pad(2)} - {t}_[{group+'-'}{resolution}p]_[{vf}_{vc}_{source}_{af}]
For Example:
Doctor.Who.2005.S07S02.Weihnachtsspecial.2012.Die.Schneemaenner

becomes:
Doctors (2000)/Season 11/Doctors (2000) - S11E141 - Doctor Who

and I would like to have this:
Doctor Who (2005)/Season 07/Specials/Doctor Who - S02 - Weihnachtsspecial 2012 - Die Schneemaenner

or something like this:
Doctor Who (2005)/Season 07/Specials/Doctor Who - S07S02 - Weihnachtsspecial 2012 - Die Schneemaenner

or another Example:
Doctor.Who.2005.S04_S05.Weihnachtsspecial.Das.Ende.der.Zeit.Teil.2

becomes:
Doctor Who (2005)/Season/Doctor Who (2005) - E - Das Ende der Zeit (2)


I found in the Forum this:

Code: Select all

{ any{"Season $s $sy"}{'Specials'} }

Code: Select all

{'/'+any{"Season ${s.pad(2)}"}{'Season 00'}}

But i didn't know how to use this correctly.
So can you Help me please.


Best regards from Germany

Re: Special Episode with Filebot-Node

Posted: 10 Mar 2019, 02:48
by kim
something like this ?

Code: Select all

{ny}{'/'+any{"Season ${s.pad(2)}"}{'Specials'}}/{ny}{' - '+s00e00}{' - '+t}
=

Code: Select all

Doctor Who (2005)/Specials/Doctor Who (2005) - S00E141 - Doctor Who Extra: Death in Heaven

Re: Special Episode with Filebot-Node

Posted: 10 Mar 2019, 06:17
by rednoah
Adding this will do:

Code: Select all

{special; 'Specials/'}
{special} will unwind for non-special episodes so you'll either be adding Specials/ to the path or nothing at all.


e.g.

Code: Select all

{ny}/Season {s.pad(2)}/{special; 'Specials/'}{ny} - {s00e00} - {t}_[{group+'-'}{resolution}p]_[{vf}_{vc}_{source}_{af}]