I want the renamer to first check the filename for the info and use that if exists. If not I want it to parse mediainfo for the data. Then if fn.match or vc equals HVEC, h265, or x265 use x265.
This is my code sofar the only thing it lacks is use x265 even if fn.match or vc equals HVEC, or h265.
Code: Select all
F:\Media Server\TV Shows\{n}\{'Season '+s.pad(2)}\{n} - {s00e00} - {t} ({any{fn.match(/720[pP]|1080[pP]/)}{vf}} {any{source}{'Unknown'}}, (({any{fn.match(/[xX]264|[xX]265/)}{vc}}), ({any{fn.match(/DTS|AC3/)}{ac}}))
Thanks Rick