mirror of
https://github.com/hanxi/xiaomusic.git
synced 2025-12-16 16:38:16 +08:00
feat: 首次保存设置后不需要重启容器
This commit is contained in:
@@ -995,7 +995,7 @@ class XiaoMusic:
|
|||||||
|
|
||||||
# 重新初始化
|
# 重新初始化
|
||||||
async def reinit(self, **kwargs):
|
async def reinit(self, **kwargs):
|
||||||
await self.try_update_device_id()
|
await self.init_all_data(self.session)
|
||||||
self._gen_all_music_list()
|
self._gen_all_music_list()
|
||||||
self.log.info("reinit success")
|
self.log.info("reinit success")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user