Page 1 of 1
Re: Conditional use of dash and putting specials in "Season 0"
Posted: 06 Nov 2019, 00:03
by rednoah
1.
This will do:
viewtopic.php?f=5&t=1895
2.
Specials are
Specials, not necessarily
Season 0 episodes, but you can just of course encode them as such:
Code: Select all
{regular ? 'Season '+s : 'Season 0'}
3.
Here's what I get in
Episodes panel:

What version of FileBot are you using?
Re: Conditional use of dash and putting specials in "Season 0"
Posted: 06 Nov 2019, 00:18
by rednoah
The
{plex} binding will take care of the details so you don't have to worry about it:
viewtopic.php?t=4116
Re: Conditional use of dash and putting specials in "Season 0"
Posted: 06 Nov 2019, 05:46
by rednoah
1.
You can do:
Code: Select all
/path/to/My Series Folder Name/{plex.tail}
viewtopic.php?t=4116
2. & 3.
Probably fine. Your choice. But definitely not what
naming and organizing your media files prescribes.
4.
I'd start with this, more or less the same as what
{plex} does, and then you modify things to your liking:
Code: Select all
TV Shows/{n}/{episode.special ? 'Specials' : 'Season '+s.pad(2)}/{n} - {episode.special ? 'S00E'+special.pad(2) : s00e00} - {t.replaceAll(/[`´‘’ʻ]/, /'/).replaceAll(/[!?.]+$/).replacePart(', Part $1')}{'.'+lang}
viewtopic.php?t=4116
Re: Conditional use of dash and putting specials in "Season 0"
Posted: 06 Nov 2019, 17:06
by rednoah
{plex} and
{s00e00} are aware of multi-episode objects and change their behavior accordingly, but multi-episode aware custom formats are slightly more tricky.
The
{episodes} binding gives you the multi-episode object as list of episodes, so you can do this:
or this:
Code: Select all
{episodes.absolute.min() + '-' + episodes.absolute.max()}