Пример #1
0
 def _on_device_added(self, device):
     return ChromecastRendererFactory.from_pychromecast(device)
Пример #2
0
 def lookup(self, url, xml):
     return ChromecastRendererFactory.from_xml(url, xml)
Пример #3
0
 def _on_device_added(self, mdns_info):
     if mdns_info:
         return ChromecastRendererFactory.from_mdns_info(mdns_info)
     return None
Пример #4
0
 def _on_device_added(self, mdns_info):
     if mdns_info:
         return ChromecastRendererFactory.from_mdns_info(mdns_info)
     return None
Пример #5
0
 def lookup(self, url, xml):
     return ChromecastRendererFactory.from_xml(url, xml)