1
0
mirror of https://github.com/hanxi/xiaomusic.git synced 2025-12-15 16:18:14 +08:00

update miservice

This commit is contained in:
涵曦
2024-05-17 12:27:47 +00:00
parent e07a06c8e4
commit ae297c780a
4 changed files with 16 additions and 23 deletions

View File

@@ -274,14 +274,7 @@ class XiaoMusic:
)
async def force_stop_xiaoai(self):
# TODO:
#await self.mina_service.player_stop(self.device_id)
await self.mina_service.ubus_request(
self.device_id,
"player_play_operation",
"mediaplayer",
{"action": "stop", "media": "app_ios"},
)
await self.mina_service.player_stop(self.device_id)
# 是否在下载中
def is_downloading(self):