python-linkplay 0.0.9__tar.gz → 0.0.10__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (23) hide show
  1. {python_linkplay-0.0.9/src/python_linkplay.egg-info → python_linkplay-0.0.10}/PKG-INFO +2 -2
  2. {python_linkplay-0.0.9 → python_linkplay-0.0.10}/README.md +2 -2
  3. python_linkplay-0.0.10/src/linkplay/__version__.py +1 -0
  4. {python_linkplay-0.0.9 → python_linkplay-0.0.10}/src/linkplay/controller.py +8 -0
  5. {python_linkplay-0.0.9 → python_linkplay-0.0.10/src/python_linkplay.egg-info}/PKG-INFO +2 -2
  6. python_linkplay-0.0.9/src/linkplay/__version__.py +0 -1
  7. {python_linkplay-0.0.9 → python_linkplay-0.0.10}/LICENSE +0 -0
  8. {python_linkplay-0.0.9 → python_linkplay-0.0.10}/pyproject.toml +0 -0
  9. {python_linkplay-0.0.9 → python_linkplay-0.0.10}/setup.cfg +0 -0
  10. {python_linkplay-0.0.9 → python_linkplay-0.0.10}/setup.py +0 -0
  11. {python_linkplay-0.0.9 → python_linkplay-0.0.10}/src/linkplay/__init__.py +0 -0
  12. {python_linkplay-0.0.9 → python_linkplay-0.0.10}/src/linkplay/__main__.py +0 -0
  13. {python_linkplay-0.0.9 → python_linkplay-0.0.10}/src/linkplay/bridge.py +0 -0
  14. {python_linkplay-0.0.9 → python_linkplay-0.0.10}/src/linkplay/consts.py +0 -0
  15. {python_linkplay-0.0.9 → python_linkplay-0.0.10}/src/linkplay/discovery.py +0 -0
  16. {python_linkplay-0.0.9 → python_linkplay-0.0.10}/src/linkplay/endpoint.py +0 -0
  17. {python_linkplay-0.0.9 → python_linkplay-0.0.10}/src/linkplay/exceptions.py +0 -0
  18. {python_linkplay-0.0.9 → python_linkplay-0.0.10}/src/linkplay/utils.py +0 -0
  19. {python_linkplay-0.0.9 → python_linkplay-0.0.10}/src/python_linkplay.egg-info/SOURCES.txt +0 -0
  20. {python_linkplay-0.0.9 → python_linkplay-0.0.10}/src/python_linkplay.egg-info/dependency_links.txt +0 -0
  21. {python_linkplay-0.0.9 → python_linkplay-0.0.10}/src/python_linkplay.egg-info/not-zip-safe +0 -0
  22. {python_linkplay-0.0.9 → python_linkplay-0.0.10}/src/python_linkplay.egg-info/requires.txt +0 -0
  23. {python_linkplay-0.0.9 → python_linkplay-0.0.10}/src/python_linkplay.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python_linkplay
3
- Version: 0.0.9
3
+ Version: 0.0.10
4
4
  Summary: A Python Library for Seamless LinkPlay Device Control
5
5
  Author: Velleman Group nv
6
6
  License: MIT
@@ -34,7 +34,7 @@ A Python Library for Seamless LinkPlay Device Control
34
34
 
35
35
  ## Intro
36
36
 
37
- Welcome to python-linkplay, a powerful and user-friendly Python library designed to simplify the integration and control of LinkPlay-enabled devices in your projects. LinkPlay technology empowers a wide range of smart audio devices, making them interconnected and easily controllable. With python-linkpaly, you can harness this capability and seamlessly manage your LinkPlay devices from within your Python applications.
37
+ Welcome to python-linkplay, a powerful and user-friendly Python library designed to simplify the integration and control of LinkPlay-enabled devices in your projects. LinkPlay technology empowers a wide range of smart audio devices, making them interconnected and easily controllable. With python-linkplay, you can harness this capability and seamlessly manage your LinkPlay devices from within your Python applications.
38
38
 
39
39
  ## Key features
40
40
 
@@ -7,7 +7,7 @@ A Python Library for Seamless LinkPlay Device Control
7
7
 
8
8
  ## Intro
9
9
 
10
- Welcome to python-linkplay, a powerful and user-friendly Python library designed to simplify the integration and control of LinkPlay-enabled devices in your projects. LinkPlay technology empowers a wide range of smart audio devices, making them interconnected and easily controllable. With python-linkpaly, you can harness this capability and seamlessly manage your LinkPlay devices from within your Python applications.
10
+ Welcome to python-linkplay, a powerful and user-friendly Python library designed to simplify the integration and control of LinkPlay-enabled devices in your projects. LinkPlay technology empowers a wide range of smart audio devices, making them interconnected and easily controllable. With python-linkplay, you can harness this capability and seamlessly manage your LinkPlay devices from within your Python applications.
11
11
 
12
12
  ## Key features
13
13
 
@@ -30,4 +30,4 @@ Welcome to python-linkplay, a powerful and user-friendly Python library designed
30
30
 
31
31
  ## Multiroom
32
32
 
33
- ![Alt text](image.png)
33
+ ![Alt text](image.png)
@@ -0,0 +1 @@
1
+ __version__ = '0.0.10'
@@ -29,6 +29,14 @@ class LinkPlayController:
29
29
  ]
30
30
  self.bridges.extend(new_bridges)
31
31
 
32
+ async def add_bridge(self, bridge_to_add: LinkPlayBridge) -> None:
33
+ """Add given LinkPlay device if not already added."""
34
+
35
+ # Add bridge
36
+ current_bridges = [bridge.device.uuid for bridge in self.bridges]
37
+ if bridge_to_add.device.uuid not in current_bridges:
38
+ self.bridges.append(bridge_to_add)
39
+
32
40
  async def discover_multirooms(self) -> None:
33
41
  """Attempts to discover multirooms on the local network."""
34
42
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python_linkplay
3
- Version: 0.0.9
3
+ Version: 0.0.10
4
4
  Summary: A Python Library for Seamless LinkPlay Device Control
5
5
  Author: Velleman Group nv
6
6
  License: MIT
@@ -34,7 +34,7 @@ A Python Library for Seamless LinkPlay Device Control
34
34
 
35
35
  ## Intro
36
36
 
37
- Welcome to python-linkplay, a powerful and user-friendly Python library designed to simplify the integration and control of LinkPlay-enabled devices in your projects. LinkPlay technology empowers a wide range of smart audio devices, making them interconnected and easily controllable. With python-linkpaly, you can harness this capability and seamlessly manage your LinkPlay devices from within your Python applications.
37
+ Welcome to python-linkplay, a powerful and user-friendly Python library designed to simplify the integration and control of LinkPlay-enabled devices in your projects. LinkPlay technology empowers a wide range of smart audio devices, making them interconnected and easily controllable. With python-linkplay, you can harness this capability and seamlessly manage your LinkPlay devices from within your Python applications.
38
38
 
39
39
  ## Key features
40
40
 
@@ -1 +0,0 @@
1
- __version__ = '0.0.9'