Revert "Navigation: Do only go to standby when recording timer is likely"
authorLittlesat <littlesat99@yahoo.com>
Sat, 7 Sep 2013 18:00:18 +0000 (20:00 +0200)
committerLittlesat <littlesat99@yahoo.com>
Sat, 7 Sep 2013 18:00:18 +0000 (20:00 +0200)
This reverts commit 665190c2676010b35ff368e1e6e2c66f62f6fa84.

Sorry that I did commit this too fast... The time is not known during this
test so this will not work and therefore I need to revert this.

Navigation.py

index 2c546d6..84ac980 100644 (file)
@@ -32,7 +32,7 @@ class Navigation:
                self.currentlyPlayingService = None
                self.RecordTimer = RecordTimer.RecordTimer()
                self.__wasTimerWakeup = getFPWasTimerWakeup()
-               if self.__wasTimerWakeup and (len(self.getRecordings()) or abs(self.RecordTimer.getNextRecordingTime() - time()) <= 360):
+               if self.__wasTimerWakeup:
                        if Screens.Standby.inStandby: #In case some plugin did put the receiver already in standby
                                config.misc.standbyCounter.value = 0
                        else: