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

Support for Windows 10 users and the Microsoft Store package
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 » 07 Apr 2019, 20:49

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: 16998
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

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

Post by rednoah » 07 Apr 2019, 21:00

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 » 07 Apr 2019, 21:04

Thank you

Post Reply