littlesat
next step(problem)
see this:
def channelSelected(self, doClose = True):
playingref = self.session.nav.getCurrentlyPlayingServiceOrGroup()
if config.usage.channelselection_preview.value and (playingref is None or self.getCurrentSelection() and self.getCurrentSelection() != playingref):
doClose = False
if not self.startServiceRef and not doClose:
self.startServiceRef = playingref
ref = self.getCurrentSelection()
if self.movemode and (self.isBasePathEqual(self.bouquet_root) or "userbouquet." in ref.toString()):
self.toggleMoveMarked()
elif (ref.flags & eServiceReference.flagDirectory) == eServiceReference.flagDirectory:
if Components.ParentalControl.parentalControl.isServicePlayable(ref, self.bouquetParentalControlCallback, self.session):
self.enterPath(ref)
self.gotoCurrentServiceOrProvider(ref)
self.revertMode = None
if Components.ParentalControl.parentalControl...
What does the bouquet of parental control?
What we have is the logic?
1) block all services of the bouquet
2)block the entrance to the bouquet or no?
if #2 is no, this code not need
else need add same number zap/change bouquet/ChannelSelectionEPG
maybe this
- if Components.ParentalControl.parentalControl.isServicePlayable(ref, self.bouquetParentalControlCallback, self.session):
Edited by Dimitrij, 8 February 2016 - 17:47.