X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=RecordTimer.py;h=09156e460f736d28890157f84de99dafcae08687;hp=1f65038cd73dca936b2ceeffa6ea13b46f0a60b5;hb=189694cba5501834e95e4fb6b38b0b97ffbc04ac;hpb=f4e60c14b94fe0155aba9addc908a0b2860b3cd8 diff --git a/RecordTimer.py b/RecordTimer.py index 1f65038..09156e4 100644 --- a/RecordTimer.py +++ b/RecordTimer.py @@ -186,7 +186,7 @@ class RecordTimerEntry(timer.TimerEntry, object): prep_res=self.record_service.prepare(self.Filename + ".ts", self.begin, self.end, event_id, self.name.replace("\n", ""), self.description.replace("\n", ""), ' '.join(self.tags)) if prep_res: - if prep_res == 255: + if prep_res == -255: self.log(4, "failed to write meta information") else: self.log(2, "'prepare' failed: error %d" % prep_res)