优化关机的问题

This commit is contained in:
涵曦 2024-06-29 15:37:08 +00:00
parent 5e0ae07978
commit f19a7e1080

View File

@ -311,8 +311,8 @@ class XiaoMusic:
async def force_stop_xiaoai(self): async def force_stop_xiaoai(self):
ret = await self.mina_service.player_pause(self.device_id) ret = await self.mina_service.player_pause(self.device_id)
self.log.debug(f"force_stop_xiaoai player_pause ret:{ret}") self.log.debug(f"force_stop_xiaoai player_pause ret:{ret}")
ret = await self.mina_service.player_stop(self.device_id) #ret = await self.mina_service.player_stop(self.device_id)
self.log.debug(f"force_stop_xiaoai player_stop ret:{ret}") #self.log.debug(f"force_stop_xiaoai player_stop ret:{ret}")
# 是否在下载中 # 是否在下载中
def is_downloading(self): def is_downloading(self):