Page 1 of 1

Hide missing attributes

Posted: 09 Jan 2022, 19:19
by mattx38
Hello,

I'm looking for a solution to hide dots when an attribute or a metadata is missing while renaming video files ?
I use the following preset :

Code: Select all

{n.space('_')} ({y}).{vf}.{vc}.{source}.{ac}.{af}
When there is no source in the metadata, the name of the file contains 2 dots.

Thank you.

Re: Hide missing attributes

Posted: 10 Jan 2022, 01:20
by rednoah
e.g.

Code: Select all

{'-'+vf}{'.'+bitdepth+'bit'}{'.'+hdr}
:arrow: viewtopic.php?t=1895

Re: Hide missing attributes

Posted: 10 Jan 2022, 07:43
by mattx38
Thank you for your fast and goo answer !
It works great.