Is there a way to have a default binding if none is found.
Let's say my format expression {source} isn't found for a file. Can I have my format Expression drop in something like XXXXX or None?
Thanks
-S
Can i have a default value for a binding if none is found?
-
- Posts: 168
- Joined: 20 Jul 2012, 23:25
Re: Can i have a default value for a binding if none is foun
Right now you can do this:
I'll add this for convenience with future releases:
Code: Select all
{try{source}catch(e){'OTHER'}}
Code: Select all
{c{source} ?: 'OTHER'}
Re: Can i have a default value for a binding if none is foun
Thanks rednoah
Seem filebot only recognize WEB-DL but not WEB.DL
Seem filebot only recognize WEB-DL but not WEB.DL