mirror of
https://github.com/AynaLivePlayer/AynaLivePlayer.git
synced 2025-12-13 13:38:16 +08:00
update ws obsinfo hint text
This commit is contained in:
@@ -63,6 +63,7 @@ func main() {
|
|||||||
global.Logger.Infof("closing event manager")
|
global.Logger.Infof("closing event manager")
|
||||||
global.EventManager.Stop()
|
global.EventManager.Stop()
|
||||||
if *dev {
|
if *dev {
|
||||||
|
global.Logger.Infof("saving translation")
|
||||||
i18n.SaveTranslation()
|
i18n.SaveTranslation()
|
||||||
}
|
}
|
||||||
_ = config.SaveToConfigFile(config.ConfigPath)
|
_ = config.SaveToConfigFile(config.ConfigPath)
|
||||||
|
|||||||
@@ -551,6 +551,10 @@
|
|||||||
"plugin.wshub.title": {
|
"plugin.wshub.title": {
|
||||||
"en": "Websocket Hub",
|
"en": "Websocket Hub",
|
||||||
"zh-CN": "Websocket服务器"
|
"zh-CN": "Websocket服务器"
|
||||||
|
},
|
||||||
|
"plugin.wshub.webinfo_text": {
|
||||||
|
"en": "Obs browser output",
|
||||||
|
"zh-CN": "OBS网页输出: "
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ import (
|
|||||||
"fyne.io/fyne/v2/data/binding"
|
"fyne.io/fyne/v2/data/binding"
|
||||||
"fyne.io/fyne/v2/theme"
|
"fyne.io/fyne/v2/theme"
|
||||||
"fyne.io/fyne/v2/widget"
|
"fyne.io/fyne/v2/widget"
|
||||||
|
"net/url"
|
||||||
)
|
)
|
||||||
|
|
||||||
type WsHub struct {
|
type WsHub struct {
|
||||||
@@ -164,7 +165,9 @@ func (w *WsHub) CreatePanel() fyne.CanvasObject {
|
|||||||
widget.NewLabel(i18n.T("plugin.wshub.server_control")),
|
widget.NewLabel(i18n.T("plugin.wshub.server_control")),
|
||||||
startBtn, stopBtn, restartBtn,
|
startBtn, stopBtn, restartBtn,
|
||||||
)
|
)
|
||||||
w.panel = container.NewVBox(serverStatus, autoStart, localHostOnly, serverPreview, serverPort, ctrlBtns)
|
uri, _ := url.Parse("http://obsinfo.biliaudiobot.com/")
|
||||||
|
infos := container.NewHBox(widget.NewLabel(i18n.T("plugin.wshub.webinfo_text")), widget.NewHyperlink("http://obsinfo.biliaudiobot.com", uri))
|
||||||
|
w.panel = container.NewVBox(serverStatus, autoStart, localHostOnly, serverPreview, serverPort, ctrlBtns, infos)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
2
todo.txt
2
todo.txt
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
Finished
|
Finished
|
||||||
- 2024.08.25 : 添加是否播放闲置歌单选项,修复退出时panic的导致配置无法正确保存的问题
|
- 2024.08.25 : 添加是否播放闲置歌单选项,修复退出时panic的导致配置无法正确保存的问题
|
||||||
- 2024.08.14 : 网页输出模版上线
|
- 2024.08.14 : 网页输出模版beta上线
|
||||||
- 2024.08.06 : 修复使用身份码连接的时候房管无法切歌的问题
|
- 2024.08.06 : 修复使用身份码连接的时候房管无法切歌的问题
|
||||||
- 2024.07.25 : 或许修复配置无法正确保存的问题
|
- 2024.07.25 : 或许修复配置无法正确保存的问题
|
||||||
- 2024.07.20 : fyne升级,字体修改为自动加载系统字体, 设置中可设置mpv是否现实歌曲封面
|
- 2024.07.20 : fyne升级,字体修改为自动加载系统字体, 设置中可设置mpv是否现实歌曲封面
|
||||||
|
|||||||
Reference in New Issue
Block a user