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.
Files changed (49) hide show
  1. {pychromecast-14.0.7 → pychromecast-14.0.9}/PKG-INFO +1 -1
  2. {pychromecast-14.0.7 → pychromecast-14.0.9}/PyChromecast.egg-info/PKG-INFO +1 -1
  3. {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/const.py +20 -17
  4. {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/controllers/receiver.py +2 -2
  5. {pychromecast-14.0.7 → pychromecast-14.0.9}/pyproject.toml +2 -2
  6. {pychromecast-14.0.7 → pychromecast-14.0.9}/requirements.txt +1 -1
  7. {pychromecast-14.0.7 → pychromecast-14.0.9}/LICENSE +0 -0
  8. {pychromecast-14.0.7 → pychromecast-14.0.9}/MANIFEST.in +0 -0
  9. {pychromecast-14.0.7 → pychromecast-14.0.9}/PyChromecast.egg-info/SOURCES.txt +0 -0
  10. {pychromecast-14.0.7 → pychromecast-14.0.9}/PyChromecast.egg-info/dependency_links.txt +0 -0
  11. {pychromecast-14.0.7 → pychromecast-14.0.9}/PyChromecast.egg-info/not-zip-safe +0 -0
  12. {pychromecast-14.0.7 → pychromecast-14.0.9}/PyChromecast.egg-info/requires.txt +0 -0
  13. {pychromecast-14.0.7 → pychromecast-14.0.9}/PyChromecast.egg-info/top_level.txt +0 -0
  14. {pychromecast-14.0.7 → pychromecast-14.0.9}/README.rst +0 -0
  15. {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/__init__.py +0 -0
  16. {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/config.py +0 -0
  17. {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/controllers/__init__.py +0 -0
  18. {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/controllers/bbciplayer.py +0 -0
  19. {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/controllers/bbcsounds.py +0 -0
  20. {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/controllers/bubbleupnp.py +0 -0
  21. {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/controllers/dashcast.py +0 -0
  22. {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/controllers/heartbeat.py +0 -0
  23. {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/controllers/homeassistant.py +0 -0
  24. {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/controllers/homeassistant_media.py +0 -0
  25. {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/controllers/media.py +0 -0
  26. {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/controllers/multizone.py +0 -0
  27. {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/controllers/nrkradio.py +0 -0
  28. {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/controllers/nrktv.py +0 -0
  29. {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/controllers/plex.py +0 -0
  30. {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/controllers/shaka.py +0 -0
  31. {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/controllers/supla.py +0 -0
  32. {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/controllers/yleareena.py +0 -0
  33. {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/controllers/youtube.py +0 -0
  34. {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/dial.py +0 -0
  35. {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/discovery.py +0 -0
  36. {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/error.py +0 -0
  37. {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/generated/authority_keys_pb2.py +0 -0
  38. {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/generated/authority_keys_pb2.pyi +0 -0
  39. {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/generated/cast_channel_pb2.py +0 -0
  40. {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/generated/cast_channel_pb2.pyi +0 -0
  41. {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/generated/logging_pb2.py +0 -0
  42. {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/generated/logging_pb2.pyi +0 -0
  43. {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/generated/readme.txt +0 -0
  44. {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/models.py +0 -0
  45. {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/py.typed +0 -0
  46. {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/quick_play.py +0 -0
  47. {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/response_handler.py +0 -0
  48. {pychromecast-14.0.7 → pychromecast-14.0.9}/pychromecast/socket_client.py +0 -0
  49. {pychromecast-14.0.7 → pychromecast-14.0.9}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PyChromecast
3
- Version: 14.0.7
3
+ Version: 14.0.9
4
4
  Summary: Python module to talk to Google Chromecast.
5
5
  Author-email: Paulus Schoutsen <paulus@paulusschoutsen.nl>
6
6
  License: MIT
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PyChromecast
3
- Version: 14.0.7
3
+ Version: 14.0.9
4
4
  Summary: Python module to talk to Google Chromecast.
5
5
  Author-email: Paulus Schoutsen <paulus@paulusschoutsen.nl>
6
6
  License: MIT
@@ -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
- "Bose Smart Ultra Soundbar": (CAST_TYPE_AUDIO, MF_BOSE),
49
- "C4A": (CAST_TYPE_AUDIO, MF_SONY),
50
- "JBL Link 10": (CAST_TYPE_AUDIO, MF_JBL),
51
- "JBL Link 20": (CAST_TYPE_AUDIO, MF_JBL),
52
- "JBL Link 300": (CAST_TYPE_AUDIO, MF_JBL),
53
- "JBL Link 500": (CAST_TYPE_AUDIO, MF_JBL),
54
- "JBL Link Portable": (CAST_TYPE_AUDIO, MF_HARMAN),
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
- "Lenovo Smart Display 7": (CAST_TYPE_CHROMECAST, MF_LENOVO),
57
- "LG WK7 ThinQ Speaker": (CAST_TYPE_AUDIO, MF_LG),
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
- "Pioneer VSX-831": (CAST_TYPE_AUDIO, MF_PIONEER),
61
- "Pioneer VSX-1131": (CAST_TYPE_AUDIO, MF_PIONEER),
62
- "Pioneer VSX-LX305": (CAST_TYPE_AUDIO, MF_PIONEER),
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
- "Smart Soundbar 10": (CAST_TYPE_AUDIO, MF_CANTON),
65
- "Stream TV": (CAST_TYPE_CHROMECAST, MF_WNC),
66
- "SVS Pro SoundBase": (CAST_TYPE_AUDIO, MF_SVS),
67
- "TPM191E": (CAST_TYPE_CHROMECAST, MF_PHILIPS),
68
- "V705-H3": (CAST_TYPE_CHROMECAST, MF_VIZIO),
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
- data.get("isActiveInput", None if is_audio else False),
290
- data.get("isStandBy", None if is_audio else True),
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,<78.0", "wheel>=0.37.1,<0.46.0"]
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"
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"
@@ -1,3 +1,3 @@
1
1
  casttube==0.2.1
2
2
  protobuf==5.29.3
3
- zeroconf==0.146.1
3
+ zeroconf==0.147.0
File without changes
File without changes
File without changes
File without changes