2009-06-14, 06:04
krypt2nite Wrote:Ok nul this is confirmed. I wanted to use my old NFO because of all the custom stuff I had set (genre, titles, etc.) I deleted it though and re-scanned and it's properly showing one studio tag, but as 480p.
Ok, good.... that was driving me crazy trying to figure out. lol I'll expand the resolution to descriptor function for the next release. Hopefully it will solve all the problems with that part of it.
EDIT: How does this look:
Code:
Select Case True
'exact
Case iWidth = 1920 AndAlso iHeight = 1080
Return "1080"
Case iWidth = 1366 AndAlso iHeight = 768
Return "768"
Case iWidth = 1280 AndAlso iHeight = 720
Return "720"
Case iWidth = 960 AndAlso iHeight = 720
Return "720"
Case iWidth = 720 AndAlso iHeight = 576
Return "576"
Case iWidth = 720 AndAlso iHeight = 540
Return "540"
Case iWidth = 720 AndAlso iHeight = 480
Return "480"
Case iWidth = 640 AndAlso iHeight = 480
Return "480"
'by ADR
Case sinADR >= 1.33 AndAlso iHeight > 1000
Return "1080"
Case sinADR >= 1.33 AndAlso iHeight > 740
Return "768"
Case sinADR >= 1.33 AndAlso iHeight > 680
Return "720"
Case sinADR >= 1.33 AndAlso iHeight > 540
Return "576"
Case sinADR >= 1.33 AndAlso iHeight > 500
Return "540"
Case sinADR >= 1.33 AndAlso iHeight > 450
Return "480"
'loose
Case iWidth >= 1600 AndAlso iHeight >= 800
Return "1080"
Case iWidth >= 1350 AndAlso iHeight >= 740
Return "768"
Case iWidth >= 800 AndAlso iHeight >= 400
Return "720"
Case iWidth >= 680 AndAlso iHeight >= 540
Return "576"
Case iWidth >= 680 AndAlso iHeight >= 480
Return "540"
Case iWidth < 640
Return "SD"
Case Else
Return "480"
End Select
Does that cover all the bases?