Format: Select all
{
if (hd ==~ /SD/)
if (megabytes >= 700 && mbps >= 1.1)
return 'DVDRip'
else
return 'TVRip'
if (hd ==~ /HD|FHD|QHD/)
if (gigabytes >= 1 && mbps >= 18)
return 'BDRemux'
else if (mbps >= 8)
return 'BDRip'
else if (mbps >= 2.2)
return 'MicroHD'
else
return 'HDRip'
if (hd ==~ /UHD/)
if (gigabytes >= 1 && mbps >= 32)
return 'UHDRemux'
else if (mbps >= 16)
return 'UHDRip'
else
return 'MicroUHD'
}
Possible return values:
Code: Select all
DVDRip
TVRip
BDRemux
BDRip
MicroHD
HDRip
UHDRemux
UHDRip
MicroUHD
{hd} video definition class binding