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

fix: 修复播放链接报错

This commit is contained in:
涵曦
2024-07-06 03:50:47 +00:00
parent e10f5b89b6
commit 20c7e14076

View File

@@ -729,7 +729,7 @@ class XiaoMusic:
async def play_url(self, **kwargs):
url = kwargs.get("arg1", "")
await self.all_player_play(url)
return await self.all_player_play(url)
async def play_one_url(self, device_id, url):
try:
@@ -753,6 +753,7 @@ class XiaoMusic:
]
results = await asyncio.gather(*tasks)
self.log.info(f"all_player_play {url} {results}")
return results
def find_real_music_name(self, name):
if not self.config.enable_fuzzy_match: