2016-12-22, 23:24
(2016-12-22, 21:12)gotham_x Wrote: Warner306 , I'm putting us all there my good will .
I have applied the two rules so , else not I have notion for understand
(fileName != "*3D*.mkv")
else if (fileName != "*3D*.mkv") and ((srcWidth > 1280) and (srcWidth <= 1920)) "1080p 3D"
else if (fileName != "*3D*.mkv") and ((srcWidth <= 1280) and (srcHeight > 720) and (srcHeight <= 1080)) "1080p 3D"
if (not 3D) and ((srcWidth > 1280) and (srcWidth <= 1920)) "1080p"
else if (not 3D) and ((srcWidth <= 1280) and (srcHeight > 720) and (srcHeight <= 1080)) "1080p"
(fileName = "*3D*.mkv")
else if (fileName = "*3D*.mkv") and ((srcWidth > 1280) and (srcWidth <= 1920)) "1080p 3D"
else if (fileName = "*3D*.mkv") and ((srcWidth <= 1280) and (srcHeight > 720) and (srcHeight <= 1080)) "1080p 3D"
else if (not 3D) and ((srcWidth > 1280) and (srcWidth <= 1920)) "1080p"
else if (not 3D) and ((srcWidth <= 1280) and (srcHeight > 720) and (srcHeight <= 1080)) "1080p"
For both applied so , it is always selected the profile 1080p25.
All my 3D files have in the name :
.bluray.3D.mkv
(Star Wars - The Force Awakens (2015).bluray.3D.mkv)
Try:
if (fileName = "*3D*.mkv") and ((srcWidth > 1280) and (srcWidth <= 1920)) "1080p 3D"
else if (fileName = "*3D*.mkv") and ((srcWidth <= 1280) and (srcHeight > 720) and (srcHeight <= 1080)) "1080p 3D"
else if (fileName != "*3D*.mkv") and ((srcWidth > 1280) and (srcWidth <= 1920)) "1080p"
else if (fileName != "*3D*.mkv") and ((srcWidth <= 1280) and (srcHeight > 720) and (srcHeight <= 1080)) "1080p"