You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
495 B

4 years ago
  1. """Discover TiVo DVR devices providing the TCP Remote Protocol."""
  2. from . import MDNSDiscoverable
  3. class Discoverable(MDNSDiscoverable):
  4. """Add support for discovering TiVo Remote Protocol service."""
  5. def __init__(self, nd):
  6. """Initialize the discovery.
  7. Yields a dictionary with hostname, host and port along with a
  8. properties sub-dictionary with some device specific ids.
  9. """
  10. super(Discoverable, self).__init__(nd, '_tivo-remote._tcp.local.')