Detect HEVC
Posted: 19 Nov 2016, 14:28
First I assume HEVC, h265, x265 are all the same right? If so I would like the filename to be x265 if it matches any of those.
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.
How would I modify this code to add these conditions?
Thanks Rick
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