No season folder for miniseries?

All about user-defined episode / movie / file name format expressions
Post Reply
AbedlaPaille
Posts: 107
Joined: 12 Apr 2020, 04:02

No season folder for miniseries?

Post by AbedlaPaille »

Can filebot skip season folder creation on miniseries but still retain them on 2+ seasons shows? Sorry if this has been asked already.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: No season folder for miniseries?

Post by rednoah »

Yes, of course, but you'll need to somehow guess at what constitutes a "miniseries" in code.
:idea: Please read the FAQ and How to Request Help.
AbedlaPaille
Posts: 107
Joined: 12 Apr 2020, 04:02

Re: No season folder for miniseries?

Post by AbedlaPaille »

Situation 1: TVDB has several seasons for this show
Result 1: Season folder creation
Example 1: Fringe/Season 2/Fringe - S02E02 - Night of Desirable Objects
---
Situation 2: TVDB has only one season for this show
Result 2: No season folder creation
Example 2: Firefly/Firefly - S01E01 - The Train Job

That's how i see it working. Based on a combination of id and season count. Not sure how to make it happen though.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: No season folder for miniseries?

Post by rednoah »

e.g. {sc} season count binding:

Code: Select all

sc == 1 ? "Single Season Series" : "Multi Season Series"
:idea: Please read the FAQ and How to Request Help.
AbedlaPaille
Posts: 107
Joined: 12 Apr 2020, 04:02

Re: No season folder for miniseries?

Post by AbedlaPaille »

:? Damn this was on the format expressions page.. I'm sorry. And thank you.
devster
Posts: 417
Joined: 06 Jun 2017, 22:56

Re: No season folder for miniseries?

Post by devster »

Although this could backfire if a show is ongoing and not ended, you may want to check that as well.
I only work in black and sometimes very, very dark grey. (Batman)
kim
Power User
Posts: 1251
Joined: 15 May 2014, 16:17

Re: No season folder for miniseries?

Post by kim »

Miniseries =
"a limited run program of more than two and less than the 13-part season"

genre Mini-Series list
https://thetvdb.com/genres/mini-series

keyword "Miniseries" list
https://www.themoviedb.org/keyword/11162-miniseries/tv
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: No season folder for miniseries?

Post by rednoah »

I suppose {genres} could work then:

Code: Select all

"Mini-Series" in genres
:idea: Please read the FAQ and How to Request Help.
kim
Power User
Posts: 1251
Joined: 15 May 2014, 16:17

Re: No season folder for miniseries?

Post by kim »

Code: Select all

{n}{sc == 1 && ('Mini-Series' in genres || info.status == 'Ended') ? '' : "/Season ${s.pad(2)}"}{'/'+plex.name}
btw: Missing on TV

Code: Select all

{info.keywords}
Post Reply