Page 1 of 1

Filter for Special Episode

Posted: 29 Jul 2022, 14:56
by scherzeking
Hello everyone,

I am using CLI and want to filter for special episodes, since the matching doesn't work correctly. I've found this topic viewtopic.php?t=2127 where I can use:

Code: Select all

--filter "s == 2"
However, what is the right input for specials? '0', 'special' or 'specials' didn't worked.

Re: Filter for Special Episode

Posted: 29 Jul 2022, 21:48
by rednoah
You can use the {regular} binding like so:

Code: Select all

--filter regular
e.g.

Code: Select all

filebot -list --db TheMovieDB::TV --q Firefly --filter regular


:idea: --filter e will also work because special episodes don't have an {e} episode number. You can use {special} episode number but you'll have to account for {special} being undefined for normal episodes that you want to include, hence it's rather more complicated:

Code: Select all

--filter e

Code: Select all

--filter 'any{ !special }{ true }'

Re: Filter for Special Episode

Posted: 30 Jul 2022, 00:14
by scherzeking
Thank you so much! The first code worked perfect and is also very simple.
How could I miss that? I was scrolling through so many pages already xD