#import sickbeard #from sickbeard.common import Quality, qualityPresets, qualityPresetStrings

One of the Initial quality selections must succeed before attempting to process Archive selections.

Initial

#set $anyQualityList = filter(lambda x: x > $Quality.NONE, $Quality.qualityStrings)

Archive

#set $bestQualityList = filter(lambda x: x > $Quality.SDTV and x < $Quality.UNKNOWN, $Quality.qualityStrings)