#import sickbeard #from sickbeard.common import Quality, qualityPresets, qualityPresetStrings #set $html_selected = ' selected="selected"'
An initial quality downloads before optional upgrades
Temporarily use 'Unknown' to skip release qual checks. Results in spam if left on
Select one or more qualities; the best one found when searching will be snatched
#set $any_quality_list = filter(lambda x: x > $Quality.NONE and x < $Quality.UNKNOWN, $Quality.qualityStrings) #set $has_unknown = False #for $cur_quality in sorted($any_quality_list): ##set $has_unknown |= ($Quality.UNKNOWN == $cur_quality and $cur_quality in $any_qualities) $Quality.get_quality_ui($cur_quality) #if $Quality.UHD4KWEB == $cur_quality $Quality.get_quality_ui($Quality.UNKNOWN) #end if #if $cur_quality in [$Quality.SDDVD, $Quality.FULLHDTV, $Quality.FULLHDBLURAY, $Quality.UHD4KWEB]All found upgrade qualities download until the best
No upgrades selected, an initial snatch will complete any search
An upgrade will only search after an initial has complete
Optional, upgrade a completed download to any selected quality
#set $best_quality_list = filter(lambda x: x > $Quality.SDTV and x < $Quality.UNKNOWN, $Quality.qualityStrings) #for $cur_quality in sorted($best_quality_list): $Quality.get_quality_ui($cur_quality) #if $cur_quality in [$Quality.SDDVD, $Quality.FULLHDTV, $Quality.FULLHDBLURAY]