python-linkplay 0.2.5__tar.gz → 0.2.6__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.
- {python_linkplay-0.2.5/src/python_linkplay.egg-info → python_linkplay-0.2.6}/PKG-INFO +1 -1
- python_linkplay-0.2.6/src/linkplay/__version__.py +1 -0
- {python_linkplay-0.2.5 → python_linkplay-0.2.6}/src/linkplay/discovery.py +0 -1
- {python_linkplay-0.2.5 → python_linkplay-0.2.6}/src/linkplay/manufacturers.py +8 -0
- {python_linkplay-0.2.5 → python_linkplay-0.2.6/src/python_linkplay.egg-info}/PKG-INFO +1 -1
- python_linkplay-0.2.5/src/linkplay/__version__.py +0 -1
- {python_linkplay-0.2.5 → python_linkplay-0.2.6}/LICENSE +0 -0
- {python_linkplay-0.2.5 → python_linkplay-0.2.6}/README.md +0 -0
- {python_linkplay-0.2.5 → python_linkplay-0.2.6}/pyproject.toml +0 -0
- {python_linkplay-0.2.5 → python_linkplay-0.2.6}/setup.cfg +0 -0
- {python_linkplay-0.2.5 → python_linkplay-0.2.6}/setup.py +0 -0
- {python_linkplay-0.2.5 → python_linkplay-0.2.6}/src/linkplay/__init__.py +0 -0
- {python_linkplay-0.2.5 → python_linkplay-0.2.6}/src/linkplay/__main__.py +0 -0
- {python_linkplay-0.2.5 → python_linkplay-0.2.6}/src/linkplay/bridge.py +0 -0
- {python_linkplay-0.2.5 → python_linkplay-0.2.6}/src/linkplay/consts.py +0 -0
- {python_linkplay-0.2.5 → python_linkplay-0.2.6}/src/linkplay/controller.py +0 -0
- {python_linkplay-0.2.5 → python_linkplay-0.2.6}/src/linkplay/endpoint.py +0 -0
- {python_linkplay-0.2.5 → python_linkplay-0.2.6}/src/linkplay/exceptions.py +0 -0
- {python_linkplay-0.2.5 → python_linkplay-0.2.6}/src/linkplay/utils.py +0 -0
- {python_linkplay-0.2.5 → python_linkplay-0.2.6}/src/python_linkplay.egg-info/SOURCES.txt +0 -0
- {python_linkplay-0.2.5 → python_linkplay-0.2.6}/src/python_linkplay.egg-info/dependency_links.txt +0 -0
- {python_linkplay-0.2.5 → python_linkplay-0.2.6}/src/python_linkplay.egg-info/not-zip-safe +0 -0
- {python_linkplay-0.2.5 → python_linkplay-0.2.6}/src/python_linkplay.egg-info/requires.txt +0 -0
- {python_linkplay-0.2.5 → python_linkplay-0.2.6}/src/python_linkplay.egg-info/top_level.txt +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
__version__ = '0.2.6'
|
@@ -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 +0,0 @@
|
|
1
|
-
__version__ = '0.2.5'
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{python_linkplay-0.2.5 → python_linkplay-0.2.6}/src/python_linkplay.egg-info/dependency_links.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|