projects
/
vuplus_dvbapp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5f4198
)
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>
Thu, 17 Dec 2009 14:23:06 +0000
(15:23 +0100)
Navigation.py
patch
|
blob
|
history
diff --git
a/Navigation.py
b/Navigation.py
index
2ca87f6
..
2437bbf
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()