diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-11-26 05:04:39 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-11-26 05:04:39 +0000 |
| commit | 45164193c322c84366fbde35db544cf005bf20dc (patch) | |
| tree | bd29a74215380f80118d31e59ad7d1351902fc4d /RecordTimer.py | |
| parent | 026fd70744cd7237698f0b97731be55f62b641bb (diff) | |
| download | enigma2-45164193c322c84366fbde35db544cf005bf20dc.tar.gz enigma2-45164193c322c84366fbde35db544cf005bf20dc.zip | |
the record.png blinks now whenever a timerentry in the recordingtimer is running
Diffstat (limited to 'RecordTimer.py')
| -rw-r--r-- | RecordTimer.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/RecordTimer.py b/RecordTimer.py index 45a21aeb..13407958 100644 --- a/RecordTimer.py +++ b/RecordTimer.py @@ -103,6 +103,13 @@ class RecordTimer(timer.Timer): self.loadTimer() except: print "unable to load timers from file!" + + def isRecording(self): + isRunning = False + for timer in self.timer_list: + if timer.isRunning(): + isRunning = True + return isRunning def loadTimer(self): # TODO: PATH! |
