mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-11-07 18:08:04 +00:00
Initial Configuration Push
This commit is contained in:
11
deps/netdisco/discoverables/DLNA.py
vendored
Normal file
11
deps/netdisco/discoverables/DLNA.py
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
"""Discover DLNA services."""
|
||||
from . import SSDPDiscoverable
|
||||
|
||||
|
||||
# pylint: disable=too-few-public-methods
|
||||
class Discoverable(SSDPDiscoverable):
|
||||
"""Add support for discovering DLNA services."""
|
||||
|
||||
def get_entries(self):
|
||||
"""Get all the DLNA service uPnP entries."""
|
||||
return self.find_by_st("urn:schemas-upnp-org:device:MediaServer:1")
|
||||
Reference in New Issue
Block a user