git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80e4cd7
)
Navigation.py: add possibility to restart the same service
author
ghost
<andreas.monzner@multimedia-labs.de>
Sun, 13 Dec 2009 11:35:05 +0000
(12:35 +0100)
committer
ghost
<andreas.monzner@multimedia-labs.de>
Sun, 13 Dec 2009 11:35:05 +0000
(12:35 +0100)
Navigation.py
patch
|
blob
|
history
diff --git
a/Navigation.py
b/Navigation.py
index 2ca87f6f57d4acd0b7dfadb03100f360f5ca7178..2437bbf5ecf5e4c594f2e7aafba7657a4d6bfa2b 100644
(file)
--- a/
Navigation.py
+++ b/
Navigation.py
@@
-50,9
+50,9
@@
class Navigation:
for x in self.record_event:
x(rec_service, event)
- def playService(self, ref, checkParentalControl = True):
+ def playService(self, ref, checkParentalControl = True
, forceRestart = False
):
oldref = self.currentlyPlayingServiceReference
- if ref and oldref and ref == oldref:
+ if ref and oldref and ref == oldref
and not forceRestart
:
print "ignore request to play already running service"
return 0
print "playing", ref and ref.toString()