Exemple #1
0
	def P_channels(self, request):
		stype = "tv"
		idbouquet = "ALL"
		if "stype" in request.args.keys():
			stype = request.args["stype"][0]
		if "id" in request.args.keys():
			idbouquet = request.args["id"][0]
		return getChannels(idbouquet, stype)
 def P_channels(self, request):
     stype = "tv"
     idbouquet = "ALL"
     if "stype" in request.args.keys():
         stype = request.args["stype"][0]
     if "id" in request.args.keys():
         idbouquet = request.args["id"][0]
     return getChannels(idbouquet, stype)
	def P_channels(self, request):
		stype = "tv"
		idbouquet = "ALL"
		if "stype" in request.args.keys():
			stype = request.args["stype"][0]
		if "id" in request.args.keys():
			idbouquet = request.args["id"][0]
		channels = getChannels(idbouquet, stype)
		channels['transcoding'] = getTranscodingSupport()
		return channels
Exemple #4
0
 def P_channels(self, request):
     stype = "tv"
     idbouquet = "ALL"
     if "stype" in request.args.keys():
         stype = request.args["stype"][0]
     if "id" in request.args.keys():
         idbouquet = request.args["id"][0]
     channels = getChannels(idbouquet, stype)
     channels['transcoding'] = TRANSCODING
     return channels
Exemple #5
0
	def P_channels(self, request):
		stype = "tv"
		idbouquet = "ALL"
		if "stype" in request.args.keys():
			stype = request.args["stype"][0]
		if "id" in request.args.keys():
			idbouquet = request.args["id"][0]
		channels = getChannels(idbouquet, stype)
		channels['transcoding'] = getTranscodingSupport()
		channels['type'] = stype
		return channels
Exemple #6
0
	def P_channels(self, request):
		stype = "tv"
		idbouquet = "ALL"
		if "stype" in request.args.keys():
			stype = request.args["stype"][0]
		if "id" in request.args.keys():
			idbouquet = request.args["id"][0]
		channels = getChannels(idbouquet, stype)
		channels['transcoding'] = getTranscodingSupport()
		channels['type'] = stype
		channels['showchannelpicon'] = getShowChPicon()['showchannelpicon']
		return channels
	def P_channels(self, request):
		stype = "tv"
		idbouquet = "ALL"
		if "stype" in request.args.keys():
			stype = request.args["stype"][0]
		if "id" in request.args.keys():
			idbouquet = request.args["id"][0]
		channels = getChannels(idbouquet, stype)
		channels['transcoding'] = TRANSCODING
		channels['type'] = stype
		channels['showchannelpicon'] = config.OpenWebif.webcache.showchannelpicon.value
		return channels
	def P_channels(self, request):
		stype = "tv"
		idbouquet = "ALL"
		if "stype" in request.args.keys():
			stype = request.args["stype"][0]
		if "id" in request.args.keys():
			idbouquet = request.args["id"][0]
		channels = getChannels(idbouquet, stype)
		channels['transcoding'] = TRANSCODING
		channels['type'] = stype
		channels['showchannelpicon'] = config.OpenWebif.webcache.showchannelpicon.value
		return channels
	def P_channels(self, request):
		stype = "tv"
		idbouquet = "ALL"
		if "stype" in request.args.keys():
			stype = request.args["stype"][0]
		if "id" in request.args.keys():
			idbouquet = request.args["id"][0]
		channels = getChannels(idbouquet, stype)
		info = getInfo()
		model = info["model"]
		channels['transcoding'] = False
		if model in ("solo2", "duo2"): 
			channels['transcoding'] = True
		return channels
Exemple #10
0
	def P_channels(self, request):
		stype = "tv"
		idbouquet = "ALL"
		if "stype" in request.args.keys():
			stype = request.args["stype"][0]
		if "id" in request.args.keys():
			idbouquet = request.args["id"][0]
		channels = getChannels(idbouquet, stype)
		info = getInfo()
		model = info["model"]
		channels['transcoding'] = False
		if model in ("solo2", "duo2", "Sezam Marvel", "Xpeed LX3", "gbquad", "gbquadplus") and path.exists(eEnv.resolve('${libdir}/enigma2/python/Plugins/SystemPlugins/TransCodingSetup/plugin.pyo')): 
			channels['transcoding'] = True
		return channels
Exemple #11
0
 def P_channels(self, request):
     stype = "tv"
     idbouquet = "ALL"
     if "stype" in request.args.keys():
         stype = request.args["stype"][0]
     if "id" in request.args.keys():
         idbouquet = request.args["id"][0]
     channels = getChannels(idbouquet, stype)
     info = getInfo()
     model = info["model"]
     channels['transcoding'] = False
     channels['type'] = stype
     if model in ("solo2", "duo2", "solose", "vusolo2", "vuduo2",
                  "vusolose", "xpeedlx3", "gbquad", "gbquadplus"):
         channels['transcoding'] = True
     return channels
	def P_channels(self, request):
		stype = "tv"
		idbouquet = "ALL"
		if "stype" in request.args.keys():
			stype = request.args["stype"][0]
		if "id" in request.args.keys():
			idbouquet = request.args["id"][0]
		channels = getChannels(idbouquet, stype)
		info = getInfo()
		model = info["model"]
		chipset = info["chipset"] # for chipset 7356 transcoding
		channels['transcoding'] = False
		if model in ("solo2", "duo2", "solose", "vusolo2", "vuduo2", "vusolose", "xpeedlx3", "gbquad", "gbquadplus") or chipset in ("7356"):
			channels['transcoding'] = True
#		print "@@@@@@@@@@@@ chipset @@@@@@@@@@@@@@@", chipset 

		return channels
 def P_channels(self, request):
     stype = "tv"
     idbouquet = "ALL"
     if "stype" in request.args.keys():
         stype = request.args["stype"][0]
     if "id" in request.args.keys():
         idbouquet = request.args["id"][0]
     channels = getChannels(idbouquet, stype)
     info = getInfo()
     model = info["model"]
     channels['transcoding'] = False
     if model in (
             "solo2", "duo2", "Sezam Marvel", "Xpeed LX3", "gbquad",
             "gbquadplus"
     ) and path.exists(
             eEnv.resolve(
                 '${libdir}/enigma2/python/Plugins/SystemPlugins/TransCodingSetup/plugin.pyo'
             )):
         channels['transcoding'] = True
     return channels