xiaogpt 2.71__py3-none-any.whl → 2.81__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.
xiaogpt/xiaogpt.py CHANGED
@@ -325,7 +325,7 @@ class MiGPT:
325
325
  # WTF xiaomi api
326
326
  is_playing = (
327
327
  json.loads(playing_info.get("data", {}).get("info", "{}")).get("status", -1)
328
- == 1
328
+ >= 1
329
329
  )
330
330
  return is_playing
331
331
 
@@ -333,7 +333,7 @@ class MiGPT:
333
333
  is_playing = await self.get_if_xiaoai_is_playing()
334
334
  if is_playing:
335
335
  # stop it
336
- await self.mina_service.player_pause(self.device_id)
336
+ await self.mina_service.player_stop(self.device_id)
337
337
 
338
338
  async def wakeup_xiaoai(self):
339
339
  return await miio_command(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: xiaogpt
3
- Version: 2.71
3
+ Version: 2.81
4
4
  Summary: Play ChatGPT or other LLM with xiaomi AI speaker
5
5
  Author-Email: yihong0618 <zouzou0208@gmail.com>
6
6
  License: MIT
@@ -43,18 +43,18 @@ Requires-Dist: distro==1.9.0; extra == "locked"
43
43
  Requires-Dist: edge-tts==6.1.10; extra == "locked"
44
44
  Requires-Dist: exceptiongroup==1.2.0; python_version < "3.11" and extra == "locked"
45
45
  Requires-Dist: frozenlist==1.4.1; extra == "locked"
46
- Requires-Dist: google-ai-generativelanguage==0.6.3; extra == "locked"
46
+ Requires-Dist: google-ai-generativelanguage==0.6.4; extra == "locked"
47
47
  Requires-Dist: google-api-core==2.15.0; extra == "locked"
48
48
  Requires-Dist: google-api-core[grpc]==2.15.0; extra == "locked"
49
49
  Requires-Dist: google-api-python-client==2.125.0; extra == "locked"
50
50
  Requires-Dist: google-auth==2.26.1; extra == "locked"
51
51
  Requires-Dist: google-auth-httplib2==0.2.0; extra == "locked"
52
52
  Requires-Dist: google-cloud-texttospeech==2.16.3; extra == "locked"
53
- Requires-Dist: google-generativeai==0.5.3; extra == "locked"
53
+ Requires-Dist: google-generativeai==0.5.4; extra == "locked"
54
54
  Requires-Dist: google-search-results==2.4.2; extra == "locked"
55
55
  Requires-Dist: googleapis-common-protos==1.62.0; extra == "locked"
56
56
  Requires-Dist: greenlet==3.0.3; (platform_machine == "win32" or platform_machine == "WIN32" or platform_machine == "AMD64" or platform_machine == "amd64" or platform_machine == "x86_64" or platform_machine == "ppc64le" or platform_machine == "aarch64") and extra == "locked"
57
- Requires-Dist: groq==0.5.0; extra == "locked"
57
+ Requires-Dist: groq==0.6.0; extra == "locked"
58
58
  Requires-Dist: grpcio==1.60.0; extra == "locked"
59
59
  Requires-Dist: grpcio-status==1.60.0; extra == "locked"
60
60
  Requires-Dist: h11==0.14.0; extra == "locked"
@@ -73,13 +73,13 @@ Requires-Dist: langsmith==0.1.45; extra == "locked"
73
73
  Requires-Dist: markdown-it-py==3.0.0; extra == "locked"
74
74
  Requires-Dist: marshmallow==3.20.1; extra == "locked"
75
75
  Requires-Dist: mdurl==0.1.2; extra == "locked"
76
- Requires-Dist: miservice-fork==2.4.3; extra == "locked"
76
+ Requires-Dist: miservice-fork==2.5.0; extra == "locked"
77
77
  Requires-Dist: multidict==6.0.5; extra == "locked"
78
78
  Requires-Dist: mutagen==1.47.0; extra == "locked"
79
79
  Requires-Dist: mypy-extensions==1.0.0; extra == "locked"
80
80
  Requires-Dist: numexpr==2.10.0; extra == "locked"
81
81
  Requires-Dist: numpy==1.26.3; extra == "locked"
82
- Requires-Dist: openai==1.29.0; extra == "locked"
82
+ Requires-Dist: openai==1.30.1; extra == "locked"
83
83
  Requires-Dist: orjson==3.10.0; extra == "locked"
84
84
  Requires-Dist: packaging==23.2; extra == "locked"
85
85
  Requires-Dist: proto-plus==1.23.0; extra == "locked"
@@ -1,7 +1,7 @@
1
- xiaogpt-2.71.dist-info/METADATA,sha256=xB7H8m2gF-12XHb0j3pWRxF2-hJGR8wpXSJokFhZfYM,29638
2
- xiaogpt-2.71.dist-info/WHEEL,sha256=vnE8JVcI2Wz7GRKorsPArnBdnW2SWKWGow5gu5tHlRU,90
3
- xiaogpt-2.71.dist-info/entry_points.txt,sha256=zLFzA72qQ_eWBepdA2YU5vdXFqORH8wXhv2Ox1vnYP8,46
4
- xiaogpt-2.71.dist-info/licenses/LICENSE,sha256=XdClh516MvlnOf9749JZHCxSB7y6_fyXcWmLDz6IkZY,1063
1
+ xiaogpt-2.81.dist-info/METADATA,sha256=Se9ovxjJFuZsUNhvnRydMY3ih2TwvEa6Hr_s1BukM84,29638
2
+ xiaogpt-2.81.dist-info/WHEEL,sha256=vnE8JVcI2Wz7GRKorsPArnBdnW2SWKWGow5gu5tHlRU,90
3
+ xiaogpt-2.81.dist-info/entry_points.txt,sha256=zLFzA72qQ_eWBepdA2YU5vdXFqORH8wXhv2Ox1vnYP8,46
4
+ xiaogpt-2.81.dist-info/licenses/LICENSE,sha256=XdClh516MvlnOf9749JZHCxSB7y6_fyXcWmLDz6IkZY,1063
5
5
  xiaogpt/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  xiaogpt/__main__.py,sha256=MSmt_5Xg84uHqzTN38JwgseJK8rsJn_11A8WD99VtEo,61
7
7
  xiaogpt/bot/__init__.py,sha256=BDGvj1JuWVw47qfREWGKnSXeiFg6DVJJAz2rHVryqmc,1160
@@ -26,5 +26,5 @@ xiaogpt/tts/base.py,sha256=fljxdXy60HXqdLXyQlsJZtzJBo5VtTwLkkWTi58tzQc,4656
26
26
  xiaogpt/tts/mi.py,sha256=1MzCB27DBohPQ_4Xz4W_FV9p-chJFDavOHB89NviLcM,1095
27
27
  xiaogpt/tts/tetos.py,sha256=fkuOSYGqAfJyyPEXbsiOS--CewGf1JUiahoN33nzOAA,1058
28
28
  xiaogpt/utils.py,sha256=B7NCH7g19hcwHDXsnBJPTU6UcWnXoEntKWm-pgcet2I,2072
29
- xiaogpt/xiaogpt.py,sha256=UfpKGJK95CcYSdZIgQEcyS4uwD77DcS8BAXtq_KxS8c,16525
30
- xiaogpt-2.71.dist-info/RECORD,,
29
+ xiaogpt/xiaogpt.py,sha256=SUB1Qu3DxuucC3EAQJ3hwCnMRdhXMjC2dzhqABK8hk4,16524
30
+ xiaogpt-2.81.dist-info/RECORD,,
File without changes