예제 #1
0
 def _on_device_added(self, header):
     nt_header = header.get('nt', None)
     if nt_header and nt_header in self.NOTIFICATION_TYPES:
         return UpnpMediaRendererFactory.from_header(
             header, CoinedUpnpMediaRenderer)
예제 #2
0
 def _on_device_added(self, header):
     nt_header = header.get('nt', None)
     if nt_header and nt_header in self.NOTIFICATION_TYPES:
         return UpnpMediaRendererFactory.from_header(
             header, CoinedUpnpMediaRenderer)
예제 #3
0
 def _on_device_response(self, header, address):
     st_header = header.get('st', None)
     if st_header and st_header in self.NOTIFICATION_TYPES:
         return UpnpMediaRendererFactory.from_header(
             header, CoinedUpnpMediaRenderer)
예제 #4
0
 def _on_device_response(self, header, address):
     st_header = header.get('st', None)
     if st_header and st_header in self.NOTIFICATION_TYPES:
         return UpnpMediaRendererFactory.from_header(
             header, CoinedUpnpMediaRenderer)