mirror of
https://github.com/hanxi/xiaomusic.git
synced 2025-12-16 16:38:16 +08:00
优化关机的问题
This commit is contained in:
@@ -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):
|
||||||
|
|||||||
Reference in New Issue
Block a user