I bought the version in windows 10 app store and love how I can fix things!
Lately I have some problems with source, and would like to know if I can add a "default" value if nothing is found?
What I am trying to do is adding "WEB-DL." if nothing is found?
I already have a rule so all the different naming like /WEB.RIP|WEBRip|WEBDL|WEB.DL|WEB|web/ ? /WEB-DL/ : null} is named WEB-DL
Code: Select all
\\#FILEBOT_TV/{primaryTitle.ascii().replace(':','')}/{plex[2]}/{n} - {episode.special ? 's00e'+special.pad(2) : s00e00.lower()} - {t.replaceAll(/[`´‘’?]/, /'/).replaceAll(/[!?.]+$/).replacePart(', Part $1')} [{any{fn =~ /WEB.RIP|WEBRip|WEBDL|WEB.DL|WEB|web/ ? /WEB-DL/ : null}{source}}{'.'+VF}{'.'+VC}{'.'+BITDEPTH+'Bit'}{'.'+AC}{'.'+AF}]{'.'+lang}
