コード例 #1
0
ファイル: info.py プロジェクト: Luky68/archivczsk
	def updateProtocolList(self,width):
		menuList = []
		menuList.append(self.buildEntry(_("HTTP Protocol"), videoPlayerInfo.isHTTPSupported(), width))
		menuList.append(self.buildEntry(_("HLS Protocol"), videoPlayerInfo.isHLSSupported(), width))
		menuList.append(self.buildEntry(_("MMS Protocol"), videoPlayerInfo.isMMSSupported(), width))
		menuList.append(self.buildEntry(_("RTMP Protocol"), videoPlayerInfo.isRTMPSupported(), width))
		menuList.append(self.buildEntry(_("RTSP Protocol"), videoPlayerInfo.isRTSPSupported(), width))
		self["protocol_list"].setList(menuList)
コード例 #2
0
ファイル: info.py プロジェクト: 1801/archivczsk
 def updateProtocolList(self, width):
     menuList = []
     menuList.append(
         self.buildEntry(_("HTTP Protocol"),
                         videoPlayerInfo.isHTTPSupported(), width))
     menuList.append(
         self.buildEntry(_("HLS Protocol"),
                         videoPlayerInfo.isHLSSupported(), width))
     menuList.append(
         self.buildEntry(_("MMS Protocol"),
                         videoPlayerInfo.isMMSSupported(), width))
     menuList.append(
         self.buildEntry(_("RTMP Protocol"),
                         videoPlayerInfo.isRTMPSupported(), width))
     menuList.append(
         self.buildEntry(_("RTSP Protocol"),
                         videoPlayerInfo.isRTSPSupported(), width))
     self["protocol_list"].setList(menuList)