Specials to season 0

All about user-defined episode / movie / file name format expressions
Post Reply
Zerelah
Posts: 23
Joined: 18 Feb 2014, 16:22

Specials to season 0

Post by Zerelah »

Hi guys
I am using this format and it works to my needs but i cant figure out how to change it so season specials become season 0
{n}/Season {s}/{n} {episode.special ? 'S00E'+special.pad(2) : s00e00} {t}{"."+lang.getDisplayName(Locale.getDefault()).upperInitial()}

hope someone has a quick fix ;)
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Specials to season 0

Post by rednoah »

This is from the examples:
http://www.filebot.net/forums/viewtopic.php?f=5&t=2

Code: Select all

X:/TV Shows/{n}/{episode.special ? 'Special' : 'Season '+s}/{n} - {episode.special ? 'S00E'+special.pad(2) : s00e00} - {t}
I'm sure you can figure out how to modify it do do what you want.
:idea: Please read the FAQ and How to Request Help.
Zerelah
Posts: 23
Joined: 18 Feb 2014, 16:22

Re: Specials to season 0

Post by Zerelah »

hey rednoah
I have had at look and tried to modify it but I cant get it to display season 0, I tried to remove the special and replace it with season 0 but it dident change anything
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Specials to season 0

Post by rednoah »

Screenshots.

And it most definitely does work. If 'Special' works then 'Season 0' also works. There's no logic that could change, other than the episode not being a special in the first place.
:idea: Please read the FAQ and How to Request Help.
Zerelah
Posts: 23
Joined: 18 Feb 2014, 16:22

Re: Specials to season 0

Post by Zerelah »

Hi rednoah

you were correct I tried to start over using the string above and it worked for some reason the one I used in FB i Had deleted the special from it so thank you
Post Reply