支持 Stream Rec

This commit is contained in:
ms
2024-07-27 18:10:05 +08:00
parent 238fbcc957
commit 9b9b692df6
15 changed files with 96 additions and 53 deletions

View File

@@ -15,16 +15,16 @@ services:
- 1panel-network
ports:
- ${PANEL_APP_PORT_API}:12555
env_file:
- /etc/1panel/envs/global.env
- ${ENV_FILE:-/etc/1panel/envs/default.env}
volumes:
- ${STREAM_REC_ROOT_PATH}/records:/opt/records
- ${STREAM_REC_ROOT_PATH}/download:/download
environment:
- TZ=Asia/Shanghai
- LOG_LEVEL=INFO
- DB_PATH=/opt/records
- DOWNLOAD_PATH=/download
env_file:
- .env
stream-rec-frontend:
depends_on:
@@ -38,7 +38,6 @@ services:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:15275
environment:
- TZ=Asia/Shanghai
env_file:
- .env
- /etc/1panel/envs/global.env
- ${ENV_FILE:-/etc/1panel/envs/default.env}

View File

@@ -3,6 +3,11 @@
if [ -f .env ]; then
source .env
# setup-1 add default values
CURRENT_DIR=$(pwd)
sed -i '/^ENV_FILE=/d' .env
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
echo "Check Finish."
else

View File

@@ -3,6 +3,11 @@
if [ -f .env ]; then
source .env
# setup-1 add default values
CURRENT_DIR=$(pwd)
sed -i '/^ENV_FILE=/d' .env
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
echo "Check Finish."
else

View File

@@ -2,7 +2,7 @@
Stream-rec 是一个自动录制各种直播平台的工具。
![Stream-Rec](https://github.com/hua0512/stream-rec-front/blob/master/docs/zh/dashboard.png)
![Stream-Rec](https://file.lifebus.top/imgs/stream_rec_cover.png)
## 特性
@@ -24,10 +24,6 @@ Stream-rec 是一个自动录制各种直播平台的工具。
| 虎牙 | ✅ | ✅ | `https://www.huya.com/{直播间}` |
| PandaTV | ✅ | ✅ | `https://www.pandalive.co.kr/live/play/{直播间}` |
| Twitch | ✅ | ✅ | `https://www.twitch.tv/{直播间}` |
| AfreecaTv | ❌ | ❌ | |
| Bilibili | ❌ | ❌ | |
| Niconico | ❌ | ❌ | |
| Youtube | ❌ | ❌ | |
## 安装说明
@@ -35,7 +31,7 @@ Stream-rec 是一个自动录制各种直播平台的工具。
>
> 用户名stream-rec
>
> 密码stream-rec
> 密码stream-rec 或 `登录密码 (初始化)` 配置
### 必须修改配置

Binary file not shown.

Before

Width:  |  Height:  |  Size: 338 KiB

After

Width:  |  Height:  |  Size: 9.4 KiB