Skip to content

Commit

Permalink
[RecordTimer]
Browse files Browse the repository at this point in the history
* fix afterevent Deep standby
  • Loading branch information
jbleyel committed Aug 30, 2024
1 parent 35dab1d commit 60d35d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/python/RecordTimer.py
Original file line number Diff line number Diff line change
Expand Up @@ -961,8 +961,8 @@ def activate(self):
NavigationInstance.instance.RecordTimer.saveTimers()
boxInStandby = Screens.Standby.inStandby
tvNotActive = Screens.Standby.TVinStandby.getTVstate("notactive")
isStillRecording = NavigationInstance.instance.RecordTimer.getStillRecording()
nextRecordingTime = NavigationInstance.instance.RecordTimer.getNextRecordingTime()
isStillRecording = NavigationInstance.instance.RecordTimer.getStillRecording()
isRecordTime = abs(nextRecordingTime - int(time())) <= 900 or isStillRecording
if DEBUG:
print(f"[RecordTimer] boxInStandby='{boxInStandby}', tvNotActive='{tvNotActive}', wasRecTimerWakeup='{wasRecTimerWakeup}', self.wasInStandby='{self.wasInStandby}', self.afterEvent='{self.afterEvent}', isRecordTime='{isRecordTime}', nextRecordingTime='{nextRecordingTime}', isStillRecording='{isStillRecording}'.")
Expand Down

0 comments on commit 60d35d7

Please sign in to comment.