ihmily / DouyinLiveRecorder

可循环值守和多人录制的直播录制软件,支持抖音、TikTok、快手、虎牙、斗鱼、B站、小红书、pandatv、sooplive、flextv、popkontv、twitcasting、winktv、百度、微博、酷狗、17Live、Twitch、Acfun、CHZZK等平台直播录制
MIT License
4.95k stars 600 forks source link

🐛[BUG] bash脚本不执行 #772

Open wakefun opened 2 days ago

wakefun commented 2 days ago

⚠️ 确认是否已存在类似问题

🔧 运行方式

使用docker运行

🐍 如果是使用源代码运行,请选择你的Python环境版本

None

💻 请选择你的系统环境

Debian

⚠️ 确认是否已经重试多次

🕹 复现步骤

docker运行最新的包v3.0.9, config.ini配置:

是否录制完成后执行bash脚本 = 是
bash脚本路径 = /app/shells/test.sh

docker-compose.yaml配置:

    volumes:
      - ./shells:/app/shells

录制小红书直播 直播正常录制,但是不执行bash脚本

😯 问题描述

已经确认脚本可以正常执行,docker exec -ti bash 进入容器后也可以正常执行脚本/app/shells/test.sh,但是实际容器启动录制后,录制完成没有执行脚本。辛苦测试一下,对python不熟悉,无法提供调试日志。

📜 错误信息

No response

Issues-translate-bot commented 2 days ago

Bot detected the issue body's language is not English, translate it automatically.


Title: 🐛[BUG] bash script does not execute

⚠️ Confirm whether similar problems already exist

🔧 How to run

Run using docker

🐍 If you are running from source code, please select your Python environment version

None

💻 Please select your system environment

Debian

⚠️ Confirm whether it has been retried multiple times

🕹 Steps to reproduce

docker runs the latest package [v3.0.9](https://hub.docker.com/layers/ihmily/douyin-live-recorder/v3.0.9/images/sha256-a562b79e6901019302c8a997a3727cd2c3f1a1fff81280a2fd684956cb62e4bb?context= explore), config.ini configuration:

Whether to execute the bash script after recording is completed = Yes
bash script path = /app/shells/test.sh

docker-compose.yaml configuration:

    volumes:
      - ./shells:/app/shells

Recording Xiaohongshu Live Broadcast The live broadcast is recorded normally, but the bash script is not executed.

😯 Problem description

It has been confirmed that the script can be executed normally. docker exec -ti bash can also execute the script /app/shells/test.sh normally after entering the container. However, after the actual container starts recording, the script is not executed after the recording is completed. I'll try it out. I'm not familiar with Python, so I can't provide debugging logs.

📜 Error message

No response