python-linkplay 0.0.14__py3-none-any.whl → 0.0.16__py3-none-any.whl

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.
linkplay/__version__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '0.0.14'
1
+ __version__ = '0.0.16'
linkplay/consts.py CHANGED
@@ -4,7 +4,7 @@ from enum import IntFlag, StrEnum
4
4
  LOGGER = logging.getLogger("linkplay")
5
5
 
6
6
  API_ENDPOINT: str = "{}/httpapi.asp?command={}"
7
- API_TIMEOUT: int = 2
7
+ API_TIMEOUT: int = 5
8
8
  UNKNOWN_TRACK_PLAYING: str = "Unknown"
9
9
  UPNP_DEVICE_TYPE = "urn:schemas-upnp-org:device:MediaRenderer:1"
10
10
  TCPPORT = 8899
linkplay/controller.py CHANGED
@@ -41,7 +41,11 @@ class LinkPlayController:
41
41
  """Attempts to discover multirooms on the local network."""
42
42
 
43
43
  # Find and update existing multirooms
44
- multirooms = [bridge.multiroom for bridge in self.bridges if bridge.multiroom]
44
+ multirooms = [
45
+ bridge.multiroom
46
+ for bridge in self.bridges
47
+ if bridge.multiroom and bridge.multiroom.leader is bridge
48
+ ]
45
49
 
46
50
  removed_multirooms = []
47
51
  for multiroom in multirooms:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python_linkplay
3
- Version: 0.0.14
3
+ Version: 0.0.16
4
4
  Summary: A Python Library for Seamless LinkPlay Device Control
5
5
  Author: Velleman Group nv
6
6
  License: MIT
@@ -13,7 +13,7 @@ Requires-Dist: aiohttp>=3.8.5
13
13
  Requires-Dist: appdirs>=1.4.4
14
14
  Requires-Dist: async-upnp-client>=0.36.2
15
15
  Requires-Dist: deprecated>=1.2.14
16
- Requires-Dist: aiofiles>=24.1.0
16
+ Requires-Dist: aiofiles>=23.1.0
17
17
  Provides-Extra: testing
18
18
  Requires-Dist: pytest>=7.3.1; extra == "testing"
19
19
  Requires-Dist: pytest-cov>=4.1.0; extra == "testing"
@@ -1,15 +1,15 @@
1
1
  linkplay/__init__.py,sha256=y9ZehEq-KhS3cwn-PUpwVSJGfDUx7e5wf_G6guODcTk,56
2
2
  linkplay/__main__.py,sha256=Wcza80QaWfOaHjyJEfQYhB9kiPLE0NOqIj4zVWv2Nqs,577
3
- linkplay/__version__.py,sha256=OES2E8N7MyTbyBfehgSMA4ziToHam22q0JhGy_iML8c,23
3
+ linkplay/__version__.py,sha256=5vMZ7nEbQLox_DLkqIOF_1TMciyAGIRp1uVHFqyV7Xc,23
4
4
  linkplay/bridge.py,sha256=A5W8Qgtn9KVNYdhxEmwP9iKoH5YTAknFrKJxDKd5juY,13120
5
- linkplay/consts.py,sha256=giLp7E3n_Zo-WQ-nM9W4_Ug2n9oQ4KyasHRfNgdHxTM,13457
6
- linkplay/controller.py,sha256=7G6pejjeNgNInBPSWQlw01sy8kjkIDQ1GfZb2OVwCZU,2810
5
+ linkplay/consts.py,sha256=IoIEKT8yUULqtc2dui_5qBFTqx3OD15zzbHAkWHF-wY,13457
6
+ linkplay/controller.py,sha256=i3eLlaZ5pWoGgRT27I564Z9Bmi_aiY9g6lUocXE2qmk,2894
7
7
  linkplay/discovery.py,sha256=aEzN_94pKLmHKYIL7DxSW0FYRsaF2ruZe2bwXz0zf5U,4299
8
8
  linkplay/endpoint.py,sha256=5Ybr54aroFVEZ6fnFYP41QAuSP7-J9qHYAzLod4S3KY,2459
9
9
  linkplay/exceptions.py,sha256=tWJWHsKVkUEq3Yet1Z739IxcaQT8YamDeSp0tqHde9c,107
10
10
  linkplay/utils.py,sha256=aU_9TL39ngQaEMhFWMtlwB3POba2GjGlfNBshLFFS90,7788
11
- python_linkplay-0.0.14.dist-info/LICENSE,sha256=bgEtxMyjEHX_4uwaAY3GCFTm234D4AOZ5dM15sk26ms,1073
12
- python_linkplay-0.0.14.dist-info/METADATA,sha256=z5czBVXBoDt-iGQQF0Ra9xw99906D1KxGitvij78GMc,2988
13
- python_linkplay-0.0.14.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
14
- python_linkplay-0.0.14.dist-info/top_level.txt,sha256=CpSaOVPTzJf5TVIL7MrotSCR34gcIOQy-11l4zGmxxM,9
15
- python_linkplay-0.0.14.dist-info/RECORD,,
11
+ python_linkplay-0.0.16.dist-info/LICENSE,sha256=bgEtxMyjEHX_4uwaAY3GCFTm234D4AOZ5dM15sk26ms,1073
12
+ python_linkplay-0.0.16.dist-info/METADATA,sha256=nCbgwBf0qR5YVVjdjpXtNu1txPcrTnoqaBeZ3wjgh00,2988
13
+ python_linkplay-0.0.16.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
14
+ python_linkplay-0.0.16.dist-info/top_level.txt,sha256=CpSaOVPTzJf5TVIL7MrotSCR34gcIOQy-11l4zGmxxM,9
15
+ python_linkplay-0.0.16.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.1.0)
2
+ Generator: setuptools (75.2.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5