refstr = ""
config.tv.lastservice.value = refstr
config.tv.lastservice.save()
+
+class SimpleChannelSelection(ChannelSelection):
+ def __init__(self, session, title):
+ ChannelSelection.__init__(self, session)
+ self.title = title
+
+ def channelSelected(self): # just return selected service
+ ref = self.servicelist.getCurrent()
+ self.close(ref)
+
+ def doContext(self): # don't show context menu
+ pass
+
\ No newline at end of file