def __init__(self, session, request): WebScreen.__init__(self, session, request) from Components.Sources.StaticText import StaticText from Components.Sources.Config import Config from Components.config import config self["file"] = StaticText() self["localip"] = RequestData(request, what=RequestData.HOST) self["localport"] = RequestData(request, what=RequestData.PORT)
def __init__(self, session, request, allow_GET=True): Screen.__init__(self, session) self.stand_alone = True self.request = request self.instance = None self.allow_GET = allow_GET self["localip"] = RequestData(request, what=RequestData.HOST) self["localport"] = RequestData(request, what=RequestData.PORT) self["protocol"] = RequestData(request, what=RequestData.PROTOCOL)
def __init__(self, session, request): WebScreen.__init__(self, session, request) from Components.Sources.ServiceList import ServiceList from Screens.ChannelSelection import service_types_tv fav = eServiceReference(service_types_tv + ' FROM BOUQUET "bouquets.tv" ORDER BY bouquet') self["ServiceList"] = ServiceList(fav, command_func=self.getServiceList, validate_commands=False) self["localip"] = RequestData(request, what=RequestData.HOST)
def __init__(self, session, request): WebScreen.__init__(self, session, request) from Components.MovieList import MovieList from Tools.Directories import resolveFilename, SCOPE_HDD from WebComponents.Sources.Movie import Movie movielist = MovieList(None) self["MovieList"] = Movie(session, movielist, func=Movie.LIST) self["MovieFileDel"] = Movie(session, movielist, func=Movie.DEL) self["MovieFileMove"] = Movie(session, movielist, func=Movie.MOVE) self["localip"] = RequestData(request, what=RequestData.HOST)
def __init__(self, session, request): WebScreen.__init__(self, session, request) from Components.MovieList import MovieList from Tools.Directories import resolveFilename, SCOPE_HDD from WebComponents.Sources.Movie import Movie movielist = MovieList( eServiceReference("2:0:1:0:0:0:0:0:0:0:" + resolveFilename(SCOPE_HDD))) self["MovieList"] = Movie(session, movielist, func=Movie.LIST) self["MovieFileDel"] = Movie(session, movielist, func=Movie.DEL) self["localip"] = RequestData(request, what=RequestData.HOST)
def __init__(self, session, request): WebScreen.__init__(self, session, request) from Components.Sources.StaticText import StaticText from enigma import iServiceInformation pids = self.session.nav.getCurrentService() if pids is not None: pidinfo = pids.info() VPID = hex(pidinfo.getInfo(iServiceInformation.sVideoPID)) APID = hex(pidinfo.getInfo(iServiceInformation.sAudioPID)) PPID = hex(pidinfo.getInfo(iServiceInformation.sPMTPID)) self["pids"] = StaticText("%s,%s,%s" % (PPID.lstrip("0x"), VPID.lstrip("0x"), APID.lstrip("0x"))) else: self["pids"] = StaticText("0x,0x,0x") self["localip"] = RequestData(request, what=RequestData.HOST)
def __init__(self, session, request): WebScreen.__init__(self, session, request) from WebComponents.Sources.EPG import EPG self["EpgSearch"] = EPG(session, func=EPG.SEARCH) self["EpgSearchSimilar"] = EPG(session, func=EPG.SEARCHSIMILAR) self["EpgService"] = EPG(session, func=EPG.SERVICE) self["EpgBouquetNow"] = EPG(session, func=EPG.BOUQUETNOW) self["EpgBouquetNext"] = EPG(session, func=EPG.BOUQUETNEXT) self["EpgServiceNow"] = EPG(session, func=EPG.SERVICENOW) self["EpgServiceNext"] = EPG(session, func=EPG.SERVICENEXT) self["EpgBouquet"] = EPG(session, func=EPG.BOUQUET) self["localip"] = RequestData(request, what=RequestData.HOST) self["EpgServiceWap"] = EPG(session, func=EPG.SERVICE, endtm=True)
def __init__(self, session, request): WebScreen.__init__(self, session, request) from WebComponents.Sources.CurrentService import CurrentService self["CurrentService"] = CurrentService(session) self["localip"] = RequestData(request, what=RequestData.HOST)