fix: 默认下载目录修改
This commit is contained in:
parent
3372440f4e
commit
4e532d298d
@ -74,7 +74,7 @@ class Config:
|
|||||||
music_path: str = os.getenv(
|
music_path: str = os.getenv(
|
||||||
"XIAOMUSIC_MUSIC_PATH", "music"
|
"XIAOMUSIC_MUSIC_PATH", "music"
|
||||||
) # 只能是music目录下的子目录
|
) # 只能是music目录下的子目录
|
||||||
download_path: str = os.getenv("XIAOMUSIC_DOWNLOAD_PATH", "")
|
download_path: str = os.getenv("XIAOMUSIC_DOWNLOAD_PATH", "music/download")
|
||||||
conf_path: str = os.getenv("XIAOMUSIC_CONF_PATH", "conf")
|
conf_path: str = os.getenv("XIAOMUSIC_CONF_PATH", "conf")
|
||||||
hostname: str = os.getenv("XIAOMUSIC_HOSTNAME", "192.168.2.5")
|
hostname: str = os.getenv("XIAOMUSIC_HOSTNAME", "192.168.2.5")
|
||||||
port: int = int(os.getenv("XIAOMUSIC_PORT", "8090")) # 监听端口
|
port: int = int(os.getenv("XIAOMUSIC_PORT", "8090")) # 监听端口
|
||||||
|
Loading…
Reference in New Issue
Block a user