Example #1
0
	def P_channels(self, request):
		stype = getUrlArg(request, "stype", "tv")
		idbouquet = getUrlArg(request, "id", "ALL")
		channels = getChannels(idbouquet, stype)
		channels['transcoding'] = TRANSCODING
		channels['type'] = stype
		channels['showpicons'] = config.OpenWebif.webcache.showpicons.value
		channels['showpiconbackground'] = config.OpenWebif.responsive_show_picon_background.value
		return channels
Example #2
0
 def P_channels(self, request):
     stype = getUrlArg(request, "stype", "tv")
     idbouquet = getUrlArg(request, "id", "ALL")
     channels = getChannels(idbouquet, stype)
     channels['transcoding'] = TRANSCODING
     channels['type'] = stype
     channels[
         'showchannelpicon'] = config.OpenWebif.webcache.showchannelpicon.value
     return channels
Example #3
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'] = getHaveTranscoding()
		return channels
Example #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'] = getHaveTranscoding()
     channels['type'] = stype
     channels[
         'showchannelpicon'] = config.OpenWebif.webcache.showchannelpicon.value
     return channels
Example #5
0
 def P_channels(self, request):
     stype = getUrlArg(request, "stype", "tv")
     idbouquet = getUrlArg(request, "id", "ALL")
     channels = getChannels(idbouquet, stype)
     channels['transcoding'] = TRANSCODING
     return channels