summaryrefslogtreecommitdiff
path: root/netdisco/discoverables/samsung_printer.py
blob: 04eb2c1f4415cf717220196936a82119c2de3924 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
"""Discover Samsung Printers"""
from . import SSDPDiscoverable


class Discoverable(SSDPDiscoverable):
    """Support for the discovery of Samsung Printers"""

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