How to know season end episode automatically?

All about user-defined episode / movie / file name format expressions
Post Reply
blackbht
Posts: 9
Joined: 21 Aug 2022, 04:40

How to know season end episode automatically?

Post by blackbht »

i wanna know is that anyway to add end in last episode of the season automatically?
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: How to know season end episode automatically?

Post by rednoah »

e.g. if the episode at hand is the last episode of the season at hand, then add [END OF SEASON] to the file name via your custom format:

Code: Select all

{ if (episode == episodelist.findAll{ s == it.season }.last()) ' [END OF SEASON]' }
:idea: Please read the FAQ and How to Request Help.
kim
Power User
Posts: 1251
Joined: 15 May 2014, 16:17

Re: How to know season end episode automatically?

Post by kim »

e.g.
[ENDED]

Code: Select all

{ if (info.status != 'Continuing' && info.status != 'Returning Series') " [${info.status.upper()}]"}
blackbht
Posts: 9
Joined: 21 Aug 2022, 04:40

Re: How to know season end episode automatically?

Post by blackbht »

Code: Select all

{ny} - {genres} - {country} - {rating} - {vf} - {hd} - { if (info.status != 'Continuing' && info.status != 'Returning Series') " [${info.status.upper()}]"}

Code: Select all

{ny} - {genres} - {country} - {rating} - {vf} - {hd} - { if (episode == episodelist.findAll{ s == it.season }.last()) ' [END OF SEASON]' }

i am using like this and nothing shown in last episode of the season ..
blackbht
Posts: 9
Joined: 21 Aug 2022, 04:40

Re: How to know season end episode automatically?

Post by blackbht »

Thanks for all i remove (-) and its working ....
Post Reply