aboutsummaryrefslogtreecommitdiff
path: root/RecordTimer.py
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-12-23 03:09:27 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-12-23 03:09:27 +0000
commit7ae6b9f9b79a7fb2a94fcc4863f1cfdade7ce19b (patch)
tree468cdc43fef7bf57d066ef41c0c56a4bc0b57bcd /RecordTimer.py
parent86518c1dd8f68926be67a2ddb2e171fc68b69c5b (diff)
downloadenigma2-7ae6b9f9b79a7fb2a94fcc4863f1cfdade7ce19b.tar.gz
enigma2-7ae6b9f9b79a7fb2a94fcc4863f1cfdade7ce19b.zip
zap to the recording channel... otherwise user sees a black screen
Diffstat (limited to 'RecordTimer.py')
-rw-r--r--RecordTimer.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/RecordTimer.py b/RecordTimer.py
index 7088bb47..37aecdbd 100644
--- a/RecordTimer.py
+++ b/RecordTimer.py
@@ -102,6 +102,7 @@ class RecordTimerEntry(timer.TimerEntry):
if self.prepareOK:
self.record_service.stop()
self.record_service = None
+
print "Timer successfully ended"
else:
print "prepare failed, thus nothing was recorded."
@@ -112,11 +113,13 @@ class RecordTimerEntry(timer.TimerEntry):
def failureCB(self, answer):
if answer == True:
- NavigationInstance.instance.stopUserServices()
+ #NavigationInstance.instance.stopUserServices()
+ print "[RecordTimer] zapping to", self.service_ref
+ NavigationInstance.instance.playService(self.service_ref.ref)
self.activate(self.EventPrepare)
+
if self.wantStart:
print "post-activating record"
- NavigationInstance.instance.playService(self.serviceref)
self.activate(self.EventStart)
else:
print "user killed record"