mirror of
https://github.com/hanxi/xiaomusic.git
synced 2026-05-07 00:15:59 +08:00
fix: 尝试修复登录问题
This commit is contained in:
@@ -77,9 +77,9 @@ extend-immutable-calls = [
|
||||
]
|
||||
|
||||
[tool.pdm.scripts]
|
||||
lint = "ruff check ."
|
||||
fmt = "ruff format ."
|
||||
lintfmt = {composite = ["ruff check --fix .", "ruff format ."]}
|
||||
lint = "ruff check . --exclude MiService"
|
||||
fmt = "ruff format . --exclude MiService"
|
||||
lintfmt = {composite = ["ruff check --fix . --exclude MiService", "ruff format . --exclude MiService"]}
|
||||
|
||||
[tool.commitizen]
|
||||
name = "cz_conventional_commits"
|
||||
|
||||
@@ -2061,6 +2061,8 @@ class XiaoMusicDevice:
|
||||
await self.xiaomusic.mina_service.text_to_speech(self.device_id, value)
|
||||
except Exception as e:
|
||||
self.log.exception(f"Execption {e}")
|
||||
# 重新初始化
|
||||
await self.xiaomusic.reinit()
|
||||
|
||||
# 同一组设备播放
|
||||
async def group_player_play(self, url, name=""):
|
||||
|
||||
Reference in New Issue
Block a user