summaryrefslogtreecommitdiff
path: root/netdisco/discoverables/directv.py
blob: 7babd9cc4d1b7ce0292ba37b5c4363ef16b62326 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
"""Discover DirecTV Receivers."""
from . import SSDPDiscoverable


class Discoverable(SSDPDiscoverable):
    """Add support for discovering DirecTV Receivers."""

    def get_entries(self):
        """Get all the DirecTV uPnP entries."""
        return self.find_by_device_description({
            "manufacturer": "DIRECTV",
            "deviceType": "urn:schemas-upnp-org:device:MediaServer:1"
        })