- res.append((300, 0, 200, 20, 1, RT_HALIGN_RIGHT, timer.description))
- if processed:
- res.append((300, 30, 200, 20, 1, RT_HALIGN_RIGHT, FuzzyTime(timer.end)[1]))
+ res.append((300, 0, 200, 20, 1, RT_HALIGN_RIGHT, timer.description))
+
+ if not processed:
+ if timer.state == TimerEntry.StateWait:
+ state = "waiting"
+ elif timer.state == TimerEntry.StatePrepare:
+ state = "about to start"
+ elif timer.state == TimerEntry.StateRunning:
+ state = "recording..."
+ else:
+ state = "<unknown>"