diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2009-01-27 21:01:47 +0100 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2009-01-27 21:01:47 +0100 |
| commit | 80059ab78691323ff8bb30ba4db8577a5185fc6d (patch) | |
| tree | f55a44e97fe3640b3911c54d2ab488d1bb86a049 /Navigation.py | |
| parent | fdb6f80a93867b9172223f7949d78b385aaf424a (diff) | |
| download | enigma2-80059ab78691323ff8bb30ba4db8577a5185fc6d.tar.gz enigma2-80059ab78691323ff8bb30ba4db8577a5185fc6d.zip | |
differenciate between normal and simulate recordings
simulate recordings now no more returned in normal nav.getRecordings() call..
to get a list of running simulate recordings you can use nav.getRecordings(True)
Diffstat (limited to 'Navigation.py')
| -rw-r--r-- | Navigation.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Navigation.py b/Navigation.py index 715e886b..2ca87f6f 100644 --- a/Navigation.py +++ b/Navigation.py @@ -87,7 +87,7 @@ class Navigation: if ref: if ref.flags & eServiceReference.isGroup: ref = getBestPlayableServiceReference(ref, eServiceReference(), simulate) - service = ref and self.pnav and self.pnav.recordService(ref) + service = ref and self.pnav and self.pnav.recordService(ref, simulate) if service is None: print "record returned non-zero" return service @@ -96,8 +96,8 @@ class Navigation: ret = self.pnav and self.pnav.stopRecordService(service) return ret - def getRecordings(self): - return self.pnav and self.pnav.getRecordings() + def getRecordings(self, simulate=False): + return self.pnav and self.pnav.getRecordings(simulate) def getCurrentService(self): if not self.currentlyPlayingService: |
