예제 #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)