git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'bug_262_no_more_ask_50hz' into experimental
[enigma2.git]
/
Navigation.py
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)
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
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()
print "ignore request to play already running service"
return 0
print "playing", ref and ref.toString()