def change_DAILYSEARCH_FREQUENCY(freq):
 sickbeard.DAILYSEARCH_FREQUENCY = try_int(freq, sickbeard.DEFAULT_DAILYSEARCH_FREQUENCY)
 if (sickbeard.DAILYSEARCH_FREQUENCY < sickbeard.MIN_DAILYSEARCH_FREQUENCY):
  sickbeard.DAILYSEARCH_FREQUENCY = sickbeard.MIN_DAILYSEARCH_FREQUENCY
 sickbeard.dailySearchScheduler.cycleTime = datetime.timedelta(minutes=sickbeard.DAILYSEARCH_FREQUENCY)

def change_DAILYSEARCH_FREQUENCY ( freq ) : sickbeard . DAILYSEARCH_FREQUENCY = try_int ( freq , sickbeard . DEFAULT_DAILYSEARCH_FREQUENCY ) if ( sickbeard . DAILYSEARCH_FREQUENCY < sickbeard . MIN_DAILYSEARCH_FREQUENCY ) : sickbeard . DAILYSEARCH_FREQUENCY = sickbeard . MIN_DAILYSEARCH_FREQUENCY sickbeard . dailySearchScheduler . cycleTime = datetime . timedelta ( minutes = sickbeard . DAILYSEARCH_FREQUENCY )
change frequency of daily search thread .