CC-2871: recorder doesn't record shows when it gets multiple shows in the
schedule - fixed
This commit is contained in:
parent
a4fb63afcf
commit
6a0a739cef
1 changed files with 3 additions and 1 deletions
|
@ -256,7 +256,8 @@ class CommandListener(Thread):
|
||||||
|
|
||||||
#remove show from shows to record.
|
#remove show from shows to record.
|
||||||
del self.shows_to_record[start_time]
|
del self.shows_to_record[start_time]
|
||||||
self.time_till_next_show = 3600
|
time_till_next_show = self.get_time_till_next_show()
|
||||||
|
self.time_till_next_show = time_till_next_show
|
||||||
except Exception,e :
|
except Exception,e :
|
||||||
self.logger.error(e)
|
self.logger.error(e)
|
||||||
else:
|
else:
|
||||||
|
@ -295,6 +296,7 @@ class CommandListener(Thread):
|
||||||
# start recording
|
# start recording
|
||||||
self.start_record()
|
self.start_record()
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
|
self.logger.info(e)
|
||||||
time.sleep(3)
|
time.sleep(3)
|
||||||
|
|
||||||
loops += 1
|
loops += 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue