summaryrefslogtreecommitdiff
path: root/netdisco/discoverables/spotify_connect.py
diff options
context:
space:
mode:
Diffstat (limited to 'netdisco/discoverables/spotify_connect.py')
-rw-r--r--netdisco/discoverables/spotify_connect.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/netdisco/discoverables/spotify_connect.py b/netdisco/discoverables/spotify_connect.py
new file mode 100644
index 0000000..6bdb062
--- /dev/null
+++ b/netdisco/discoverables/spotify_connect.py
@@ -0,0 +1,10 @@
+"""Discover devices that implement the Spotify Connect platform."""
+from . import MDNSDiscoverable
+
+
+class Discoverable(MDNSDiscoverable):
+ """Add support for discovering Spotify Connect service."""
+
+ def __init__(self, nd):
+ """Initialize the Cast discovery."""
+ super(Discoverable, self).__init__(nd, '_spotify-connect._tcp.local.')