python-linkplay 0.2.5__py3-none-any.whl → 0.2.6__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.2.5'
1
+ __version__ = '0.2.6'
linkplay/discovery.py CHANGED
@@ -37,7 +37,6 @@ async def linkplay_factory_bridge_endpoint(
37
37
 
38
38
  bridge: LinkPlayBridge = LinkPlayBridge(endpoint=endpoint)
39
39
  await bridge.device.update_status()
40
- await bridge.player.update_status()
41
40
  return bridge
42
41
 
43
42
 
linkplay/manufacturers.py CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  from typing import Final
4
4
 
5
+ from linkplay.consts import LOGGER
6
+
5
7
  MANUFACTURER_ARTSOUND: Final[str] = "ArtSound"
6
8
  MANUFACTURER_ARYLIC: Final[str] = "Arylic"
7
9
  MANUFACTURER_IEAST: Final[str] = "iEAST"
@@ -71,4 +73,10 @@ PROJECTID_LOOKUP: Final[dict[str, tuple[str, str]]] = {
71
73
 
72
74
  def get_info_from_project(project: str) -> tuple[str, str]:
73
75
  """Get manufacturer and model info based on given project."""
76
+ if project not in PROJECTID_LOOKUP:
77
+ LOGGER.warning(
78
+ "The device '%s' is not found in our list. To improve experience, open an issue on GitHub with the project name %s, the manufacturer and the product name.",
79
+ project,
80
+ project,
81
+ )
74
82
  return PROJECTID_LOOKUP.get(project, (MANUFACTURER_GENERIC, MODELS_GENERIC))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python_linkplay
3
- Version: 0.2.5
3
+ Version: 0.2.6
4
4
  Summary: A Python Library for Seamless LinkPlay Device Control
5
5
  Author: Velleman Group nv
6
6
  License: MIT
@@ -1,16 +1,16 @@
1
1
  linkplay/__init__.py,sha256=y9ZehEq-KhS3cwn-PUpwVSJGfDUx7e5wf_G6guODcTk,56
2
2
  linkplay/__main__.py,sha256=Wcza80QaWfOaHjyJEfQYhB9kiPLE0NOqIj4zVWv2Nqs,577
3
- linkplay/__version__.py,sha256=8f4ummWTPl6PtdE9DzSUgZhPjGioA_NDC-hDpqzB9qI,22
3
+ linkplay/__version__.py,sha256=T150U4daRZ7ULOwxGUzzoBDAqm3bW9UydvCf0KJii9I,22
4
4
  linkplay/bridge.py,sha256=IGohfJbBNa4C9cgva--Uhq5iMz4eRnljLbx-SqlsYd8,21582
5
5
  linkplay/consts.py,sha256=vKlEZvo7-OIjHziimtZ3t4VkPZBoJc--Qj-7gHigxWk,15441
6
6
  linkplay/controller.py,sha256=U370dMVl-E7iIhDC1wWmsrnFcdrWso84K0vkImsgCTo,4430
7
- linkplay/discovery.py,sha256=NnkO9gknp3Cyff7830zBu1LwyhkkWCdhDbEDbAwF8D8,4610
7
+ linkplay/discovery.py,sha256=g5CPlSF_Hxrg-_aza1M1l2zuUKoY-tWMpNY0ngZGGbQ,4570
8
8
  linkplay/endpoint.py,sha256=_gelW0cDWt0SC8EApwaKIVh_YJIMNiOkfrLR_RYW7aM,2677
9
9
  linkplay/exceptions.py,sha256=UHcV0Yok0hdM0MYgHRwTWnMJ612Ts0iJvMFHX-IxmNo,312
10
- linkplay/manufacturers.py,sha256=oddlZTbtrCBVCcy5adbXk0bhBOXEcmC6U5-a7QShLHY,3906
10
+ linkplay/manufacturers.py,sha256=vvD5KnxtxGLz5t_r1mGATv86tDsQL622zYXH8WFk2Hc,4227
11
11
  linkplay/utils.py,sha256=fZHGnUM4XFrQ7MM6guHhaEmxJbVlwilbwoZXvXwSfMs,9480
12
- python_linkplay-0.2.5.dist-info/licenses/LICENSE,sha256=bgEtxMyjEHX_4uwaAY3GCFTm234D4AOZ5dM15sk26ms,1073
13
- python_linkplay-0.2.5.dist-info/METADATA,sha256=XFBM5m--r4RlIx-EkXh1MBFjxUoLelu7Cks9E2V3CaY,3260
14
- python_linkplay-0.2.5.dist-info/WHEEL,sha256=DnLRTWE75wApRYVsjgc6wsVswC54sMSJhAEd4xhDpBk,91
15
- python_linkplay-0.2.5.dist-info/top_level.txt,sha256=CpSaOVPTzJf5TVIL7MrotSCR34gcIOQy-11l4zGmxxM,9
16
- python_linkplay-0.2.5.dist-info/RECORD,,
12
+ python_linkplay-0.2.6.dist-info/licenses/LICENSE,sha256=bgEtxMyjEHX_4uwaAY3GCFTm234D4AOZ5dM15sk26ms,1073
13
+ python_linkplay-0.2.6.dist-info/METADATA,sha256=KBLoGGeAzrgYPmcU3c3C4K2wVoN-PT9_3L5ftEmbk-g,3260
14
+ python_linkplay-0.2.6.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
15
+ python_linkplay-0.2.6.dist-info/top_level.txt,sha256=CpSaOVPTzJf5TVIL7MrotSCR34gcIOQy-11l4zGmxxM,9
16
+ python_linkplay-0.2.6.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.4.0)
2
+ Generator: setuptools (80.8.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5