#882·xiaomusic

当 hostname 配置通过 setting.json 或 Web UI 进行更新时,会跳过 http:// 前缀的自动补全

作者: ryanfeng2001创建于 2026年5月22日更新于 2026年6月5日

Bug description

In Config.__post_init__ (lines 287-289 in config.py), there is a logic to automatically append the http:// prefix to the hostname, but when the configuration is saved through setting.json or the Web UI, the path Config.update_config()setattr()self.init() is followed, completely skipping the hostname validation in __post_init__.

内容来源: hanxi/xiaomusic