diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2008-10-20 14:39:49 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2008-10-20 14:39:49 +0000 |
| commit | 7163090d13ef21eff3b16909ca35edec497f0155 (patch) | |
| tree | 60496b7ee88fdc6e3fe1f1eee79b1c241090b764 /lib/python/Components/TimerSanityCheck.py | |
| parent | dc35b6a0f4eb8321129af9413d7fb363155cb900 (diff) | |
| download | enigma2-7163090d13ef21eff3b16909ca35edec497f0155.tar.gz enigma2-7163090d13ef21eff3b16909ca35edec497f0155.zip | |
getFrontendData is not working when the service is not started.. so call it
after start
small cleanup
Diffstat (limited to 'lib/python/Components/TimerSanityCheck.py')
| -rw-r--r-- | lib/python/Components/TimerSanityCheck.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/python/Components/TimerSanityCheck.py b/lib/python/Components/TimerSanityCheck.py index 5fa21308..f9176e78 100644 --- a/lib/python/Components/TimerSanityCheck.py +++ b/lib/python/Components/TimerSanityCheck.py @@ -163,13 +163,13 @@ class TimerSanityCheck: timer = self.timerlist[event[1]] if event[2] == self.bflag: fakeRecService = NavigationInstance.instance.recordService(timer.service_ref) + fakeRecResult = fakeRecService.start(True) feinfo = fakeRecService.frontendInfo().getFrontendData() tunerType = feinfo.get("tuner_type") tunerSlot = feinfo.get("tuner_number") if event[1] == -1: # new timer newTimerTunerType = tunerType newTimerTunerSlot = tunerSlot - fakeRecResult = fakeRecService.start(True) overlaplist.append((fakeRecResult, timer, tunerType, tunerSlot)) fakeRecList.append((timer, fakeRecService)) if fakeRecResult: @@ -190,9 +190,6 @@ class TimerSanityCheck: self.nrep_eventlist[idx] = (event[0],event[1],event[2],cnt,overlaplist[:]) # insert a duplicate into current overlaplist idx += 1 - for fakeRec in fakeRecList: - NavigationInstance.instance.stopRecordService(fakeRec[1]) - if ConflictTimer is None: # no conflict found :) return True |
