Series format is skipping s0e00.

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
cashman04
Posts: 5
Joined: 15 Oct 2014, 18:47

Series format is skipping s0e00.

Post by cashman04 »

I have the following series format:

Code: Select all

seriesFormat = TV Shows/{n}/{episode.special ? 'Special' : 'Season '+s.pad(1)}/{n} - {episode.special ? 'S0E'+special.pad(1) : s0e00} - {t}
And it outputs a file like:

Code: Select all

TV Shows/The Walking Dead/Season 6/The Walking Dead - - Twice as Far.mkv
If I remove the last

Code: Select all

- {t}
then it works just fine and gives me the show name and episode number. But trying to add the show title fails. What am I missing here?
User avatar
rednoah
The Source
Posts: 23949
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Series format is skipping s0e00.

Post by rednoah »

s0e00? No such variable, has nothing to do with t. There is s00e00 though. Use the standard.

Single-digit season numbers are possible, but not recommended, and you'll need to come up with the code for that yourself.

Don't prototype your formats on the command-line where you won't see any warnings or errors. Use the GUI Format Editor. This issue would have been obvious as soon as you typed it.
:idea: Please read the FAQ and How to Request Help.
cashman04
Posts: 5
Joined: 15 Oct 2014, 18:47

Re: Series format is skipping s0e00.

Post by cashman04 »

Ahh. Got ya. Forgot I had changed it to s0e00.
rednoah wrote:Use the GUI Format Editor.
Unfortunately I am running on ubuntu server, so no gui to use. But I'll download it locally on my machine and play with the gui editor. Thanks for the help!
Post Reply