PyChromecast 14.0.7__tar.gz → 14.0.9__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.
- {pychromecast-14.0.7 → pychromecast-14.0.9}/PKG-INFO +1 -1
- {pychromecast-14.0.7 → pychromecast-14.0.9}/PyChromecast.egg-info/PKG-INFO +1 -1
- {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/const.py +20 -17
- {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/controllers/receiver.py +2 -2
- {pychromecast-14.0.7 → pychromecast-14.0.9}/pyproject.toml +2 -2
- {pychromecast-14.0.7 → pychromecast-14.0.9}/requirements.txt +1 -1
- {pychromecast-14.0.7 → pychromecast-14.0.9}/LICENSE +0 -0
- {pychromecast-14.0.7 → pychromecast-14.0.9}/MANIFEST.in +0 -0
- {pychromecast-14.0.7 → pychromecast-14.0.9}/PyChromecast.egg-info/SOURCES.txt +0 -0
- {pychromecast-14.0.7 → pychromecast-14.0.9}/PyChromecast.egg-info/dependency_links.txt +0 -0
- {pychromecast-14.0.7 → pychromecast-14.0.9}/PyChromecast.egg-info/not-zip-safe +0 -0
- {pychromecast-14.0.7 → pychromecast-14.0.9}/PyChromecast.egg-info/requires.txt +0 -0
- {pychromecast-14.0.7 → pychromecast-14.0.9}/PyChromecast.egg-info/top_level.txt +0 -0
- {pychromecast-14.0.7 → pychromecast-14.0.9}/README.rst +0 -0
- {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/__init__.py +0 -0
- {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/config.py +0 -0
- {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/controllers/__init__.py +0 -0
- {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/controllers/bbciplayer.py +0 -0
- {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/controllers/bbcsounds.py +0 -0
- {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/controllers/bubbleupnp.py +0 -0
- {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/controllers/dashcast.py +0 -0
- {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/controllers/heartbeat.py +0 -0
- {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/controllers/homeassistant.py +0 -0
- {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/controllers/homeassistant_media.py +0 -0
- {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/controllers/media.py +0 -0
- {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/controllers/multizone.py +0 -0
- {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/controllers/nrkradio.py +0 -0
- {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/controllers/nrktv.py +0 -0
- {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/controllers/plex.py +0 -0
- {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/controllers/shaka.py +0 -0
- {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/controllers/supla.py +0 -0
- {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/controllers/yleareena.py +0 -0
- {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/controllers/youtube.py +0 -0
- {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/dial.py +0 -0
- {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/discovery.py +0 -0
- {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/error.py +0 -0
- {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/generated/authority_keys_pb2.py +0 -0
- {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/generated/authority_keys_pb2.pyi +0 -0
- {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/generated/cast_channel_pb2.py +0 -0
- {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/generated/cast_channel_pb2.pyi +0 -0
- {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/generated/logging_pb2.py +0 -0
- {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/generated/logging_pb2.pyi +0 -0
- {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/generated/readme.txt +0 -0
- {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/models.py +0 -0
- {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/py.typed +0 -0
- {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/quick_play.py +0 -0
- {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/response_handler.py +0 -0
- {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/socket_client.py +0 -0
- {pychromecast-14.0.7 → pychromecast-14.0.9}/setup.cfg +0 -0
|
@@ -29,6 +29,9 @@ MF_VIZIO = "Vizio"
|
|
|
29
29
|
MF_WNC = "wnc"
|
|
30
30
|
MF_XIAOMI = "Xiaomi"
|
|
31
31
|
|
|
32
|
+
# Map model names to cast types and manufacturers
|
|
33
|
+
# Note: The keys should be in lowercase to ensure case-insensitive matching
|
|
34
|
+
# when checking against device names.
|
|
32
35
|
CAST_TYPES = {
|
|
33
36
|
"chromecast audio": (CAST_TYPE_AUDIO, MF_GOOGLE),
|
|
34
37
|
"chromecast": (CAST_TYPE_CHROMECAST, MF_GOOGLE),
|
|
@@ -45,27 +48,27 @@ CAST_TYPES = {
|
|
|
45
48
|
"nest wifi point": (CAST_TYPE_AUDIO, MF_GOOGLE),
|
|
46
49
|
"bravia 4k vh2": (CAST_TYPE_CHROMECAST, MF_SONY),
|
|
47
50
|
"bravia 4k vh21": (CAST_TYPE_CHROMECAST, MF_SONY),
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
51
|
+
"bose smart ultra soundbar": (CAST_TYPE_AUDIO, MF_BOSE),
|
|
52
|
+
"c4a": (CAST_TYPE_AUDIO, MF_SONY),
|
|
53
|
+
"jbl link 10": (CAST_TYPE_AUDIO, MF_JBL),
|
|
54
|
+
"jbl link 20": (CAST_TYPE_AUDIO, MF_JBL),
|
|
55
|
+
"jbl link 300": (CAST_TYPE_AUDIO, MF_JBL),
|
|
56
|
+
"jbl link 500": (CAST_TYPE_AUDIO, MF_JBL),
|
|
57
|
+
"jbl link portable": (CAST_TYPE_AUDIO, MF_HARMAN),
|
|
55
58
|
"lenovocd-24502f": (CAST_TYPE_AUDIO, MF_LENOVO),
|
|
56
|
-
"
|
|
57
|
-
"
|
|
59
|
+
"lenovo smart display 7": (CAST_TYPE_CHROMECAST, MF_LENOVO),
|
|
60
|
+
"lg wk7 thinq speaker": (CAST_TYPE_AUDIO, MF_LG),
|
|
58
61
|
"marshall stanmore ii": (CAST_TYPE_AUDIO, MF_MARSHALL),
|
|
59
62
|
"mitv-mssp2": (CAST_TYPE_CHROMECAST, MF_XIAOMI),
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
+
"pioneer vsx-831": (CAST_TYPE_AUDIO, MF_PIONEER),
|
|
64
|
+
"pioneer vsx-1131": (CAST_TYPE_AUDIO, MF_PIONEER),
|
|
65
|
+
"pioneer vsx-lx305": (CAST_TYPE_AUDIO, MF_PIONEER),
|
|
63
66
|
"shield android tv": (CAST_TYPE_CHROMECAST, MF_NVIDIA),
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
67
|
+
"smart soundbar 10": (CAST_TYPE_AUDIO, MF_CANTON),
|
|
68
|
+
"stream tv": (CAST_TYPE_CHROMECAST, MF_WNC),
|
|
69
|
+
"svs pro soundbase": (CAST_TYPE_AUDIO, MF_SVS),
|
|
70
|
+
"tpm191e": (CAST_TYPE_CHROMECAST, MF_PHILIPS),
|
|
71
|
+
"v705-h3": (CAST_TYPE_CHROMECAST, MF_VIZIO),
|
|
69
72
|
}
|
|
70
73
|
|
|
71
74
|
|
|
@@ -286,8 +286,8 @@ class ReceiverController(BaseController):
|
|
|
286
286
|
is_audio = cast_type in (CAST_TYPE_AUDIO, CAST_TYPE_GROUP)
|
|
287
287
|
|
|
288
288
|
status = CastStatus(
|
|
289
|
-
|
|
290
|
-
|
|
289
|
+
status_data.get("isActiveInput", None if is_audio else False),
|
|
290
|
+
status_data.get("isStandBy", None if is_audio else True),
|
|
291
291
|
volume_data.get("level", 1.0),
|
|
292
292
|
volume_data.get("muted", False),
|
|
293
293
|
app_data.get(APP_ID),
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
[build-system]
|
|
2
|
-
requires = ["setuptools>=65.6,<
|
|
2
|
+
requires = ["setuptools>=65.6,<81.0", "wheel>=0.37.1,<0.46.0"]
|
|
3
3
|
build-backend = "setuptools.build_meta"
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "PyChromecast"
|
|
7
|
-
version = "14.0.
|
|
7
|
+
version = "14.0.9"
|
|
8
8
|
license = {text = "MIT"}
|
|
9
9
|
description = "Python module to talk to Google Chromecast."
|
|
10
10
|
readme = "README.rst"
|
|
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
|
|
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
|
|
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
|
|
File without changes
|