add account localization and switchable rooms
Centralize control and OBS copy in a shared TOML catalog, persist the selected locale per account, and broadcast language changes to component streams. Allow account owners to atomically switch their Bilibili room and restart the shared listener without changing component URLs.
This commit is contained in:
+2
-2
@@ -6,8 +6,8 @@
|
||||
# Docker Compose 会将它以只读方式挂载到容器的 /app/config.toml。
|
||||
|
||||
# 旧单用户配置兼容段:room_id 只在数据库没有任何账户时,绑定给首次
|
||||
# 创建的 system_admin,并且此后不可修改。后续账号的 room_id 由系统
|
||||
# 管理员创建邀请码时指定,不读取此字段。
|
||||
# 创建的 system_admin,作为该账户的初始房间。后续账号的初始 room_id
|
||||
# 由系统管理员创建邀请码时指定;注册后用户可在控制台自行切换。
|
||||
# 实际 Bilibili Cookie 不直接写在配置中,而是通过 CookieCloud 获取。
|
||||
[connection]
|
||||
room_id = "123456" # 替换为首个系统管理员的真实直播间 ID;不能以 0 开头。
|
||||
|
||||
Reference in New Issue
Block a user