'Change frequency of automatic postprocessing thread
TODO: Make all thread frequency changers in config.py return True/False status
:param freq: New frequency'

def change_autopostprocessor_freq(self, freq):

    self.AUTOPOSTPROCESSOR_FREQ = self.to_int(freq, default=self.DEFAULT_AUTOPOSTPROCESSOR_FREQ)
    if (self.AUTOPOSTPROCESSOR_FREQ < self.MIN_AUTOPOSTPROCESSOR_FREQ):
        self.AUTOPOSTPROCESSOR_FREQ = self.MIN_AUTOPOSTPROCESSOR_FREQ
    sickrage.srCore.srScheduler.modify_job(u'POSTPROCESSOR', trigger=srIntervalTrigger(**{u'minutes': self.AUTOPOSTPROCESSOR_FREQ, u'min': self.MIN_AUTOPOSTPROCESSOR_FREQ}))
