git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more changes for service groups (replacement for zapping alternatives
[enigma2.git]
/
lib
/
python
/
Screens
/
ChannelSelection.py
diff --git
a/lib/python/Screens/ChannelSelection.py
b/lib/python/Screens/ChannelSelection.py
index 8d728f0c0b53ae24e18b2a4175333b2ceb199ae5..6a5605c713a1050c9074d2b93c2a55b693c189fa 100644
(file)
--- a/
lib/python/Screens/ChannelSelection.py
+++ b/
lib/python/Screens/ChannelSelection.py
@@
-1043,7
+1043,7
@@
class ChannelSelection(ChannelSelectionBase, ChannelSelectionEdit, ChannelSelect
if ref is None or ref != nref:
self.session.nav.playService(nref)
self.saveRoot()
if ref is None or ref != nref:
self.session.nav.playService(nref)
self.saveRoot()
- self.saveChannel()
+ self.saveChannel(
nref
)
config.servicelist.lastmode.save()
self.addToHistory(nref)
config.servicelist.lastmode.save()
self.addToHistory(nref)
@@
-1086,7
+1086,7
@@
class ChannelSelection(ChannelSelectionBase, ChannelSelectionEdit, ChannelSelect
self.setRoot(root)
self.session.nav.playService(ref)
self.setCurrentSelection(ref)
self.setRoot(root)
self.session.nav.playService(ref)
self.setCurrentSelection(ref)
- self.saveChannel()
+ self.saveChannel(
ref
)
def saveRoot(self):
path = ''
def saveRoot(self):
path = ''
@@
-1123,8
+1123,7
@@
class ChannelSelection(ChannelSelectionBase, ChannelSelectionEdit, ChannelSelect
return True
return False
return True
return False
- def saveChannel(self):
- ref = self.session.nav.getCurrentlyPlayingServiceReference()
+ def saveChannel(self, ref):
if ref is not None:
refstr = ref.toString()
else:
if ref is not None:
refstr = ref.toString()
else: