fix seekable status when service is already running, only show infobar if InfoBarShow...
[enigma2.git] / RecordTimer.py
index c9c8fe9e444e5b5242a0cf33c1a816aabf886d18..73e7eefee6af881c78ce0949f2bdc46efb042fb5 100644 (file)
@@ -313,7 +313,7 @@ class RecordTimerEntry(timer.TimerEntry, object):
 
        def gotRecordEvent(self, record, event):
                # TODO: this is not working (never true), please fix. (comparing two swig wrapped ePtrs)
-               if self.__record_service != record:
+               if self.__record_service.__deref__() != record.__deref__():
                        return
                self.log(16, "record event %d" % event)
                if event == iRecordableService.evRecordWriteError:
@@ -327,7 +327,7 @@ class RecordTimerEntry(timer.TimerEntry, object):
                        # TODO: this has to be done.
                elif event == iRecordableService.evStart:
                        # maybe this should be configurable?
-                       Notifications.AddPopup(text = _("A record has been started:\n%s") % self.description, type = MessageBox.TYPE_INFO, timeout = 3)
+                       Notifications.AddPopup(text = _("A record has been started:\n%s") % self.name, type = MessageBox.TYPE_INFO, timeout = 3)
 
        # we have record_service as property to automatically subscribe to record service events
        def setRecordService(self, service):