Don't add dash to name if no source is found

Support for Windows users
Post Reply
bobsage
Posts: 4
Joined: 07 Apr 2019, 20:46

Don't add dash to name if no source is found

Post by bobsage »

This is how I have my current episode naming format. But if there is no source, I am left with a " - " at the end of the file name. Is there a way so if it detects no source, to remove the " - " at the end as well?

Code: Select all

{n} - {s00e00} - {t} - {Source}
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Don't add dash to name if no source is found

Post by rednoah »

This will do:

Code: Select all

{" - " + source}
The two parts will either succeed together, or fail together.
:idea: Please read the FAQ and How to Request Help.
bobsage
Posts: 4
Joined: 07 Apr 2019, 20:46

Re: Don't add dash to name if no source is found

Post by bobsage »

Thank you
Post Reply