A simple live interface used in OBS live streaming.
Used as an OBS live streaming interface while pracitcing Python.
UI Surface: PySide6
Sound Support: PySide6
Video Support: PySide6
Danmaku Support: blivedm
MUSIC_PATH=[the position of music config file]
MUSIC_FILE=[music config file name]
NOTICE_FILE=[the notice file to be read]
SCREEN_SCALE=[preview to home screen ratio]
HEADER_HEIGHT=[height of the title (in px)]
SERVICE_PORT=[HTTP server port]
LIVE_ID=[listened live room id]
LIVE_SESSDATA=[SESSDATA ley in cookies]
[
{
"filename": "[the relative file path of music, relative to the config file]",
"origin": "[music origin name, will display in interface]",
"composer": "[music composer, will display in interface]"
},
...
]
- Clone project source code and run build script
git clone --depth=1 https://codeberg.org/zelo-ex/live-interface
cd ./live-interface
./build.sh-
Copy
src/.env_exampleto the directory where the live_interface executable is located. -
Set up your environment and rename
.env_exampleto.env.