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
(from parent 1:
42b992d
)
fix playService with None
author
Felix Domke
<tmbinc@elitedvb.net>
Tue, 15 Nov 2005 04:29:06 +0000
(
04:29
+0000)
committer
Felix Domke
<tmbinc@elitedvb.net>
Tue, 15 Nov 2005 04:29:06 +0000
(
04:29
+0000)
Navigation.py
patch
|
blob
|
history
diff --git
a/Navigation.py
b/Navigation.py
index 7e7c0f218d72235fbfc6bf90bd7c7b2e67c04d48..c453c6c71ca0dcba1141070e180fe470c9c4a4b4 100644
(file)
--- a/
Navigation.py
+++ b/
Navigation.py
@@
-30,6
+30,10
@@
class Navigation:
def playService(self, ref):
self.currentlyPlayingServiceReference = None
+ if ref is None:
+ self.stopService()
+ return 0
+
if not self.pnav.playService(ref):
self.currentlyPlayingServiceReference = ref
return 0