Exemple #1
0
 def discover(self, *args, **kwargs):
     rokus = []
     for device in discovery.discover(*args, **kwargs):
         o = urlparse(device.location)
         rokus.append(Roku(o.hostname, o.port))
     return rokus
Exemple #2
0
 def discover(self, *args, **kwargs):
     rokus = []
     for device in discovery.discover(*args, **kwargs):
         o = urlparse(device.location)
         rokus.append(Roku(o.hostname, o.port))
     return rokus