Fix ffpyplayer offline wheel and update install scripts

- Rebuilt evdev wheel for cp313 aarch64 (was missing from repo)
- Updated install.sh: add --system-site-packages to venv, verify imports
- Updated start.sh: activate .venv before running player
- Updated run_player.sh: activate .venv before running player
- Added pip fallback for kivy/ffpyplayer if apt/pip install misses them
This commit is contained in:
SKE087
2026-07-17 13:02:59 +03:00
parent 9d8eb0cf21
commit fb9f46a94f
8 changed files with 46 additions and 24 deletions
+6
View File
@@ -237,9 +237,15 @@ while true; do
# Clean old heartbeat
rm -f "$HEARTBEAT_FILE"
# Activate virtual environment if it exists
if [ -f "$SCRIPT_DIR/.venv/bin/activate" ]; then
source "$SCRIPT_DIR/.venv/bin/activate"
fi
# Start the player
cd "$SCRIPT_DIR/src"
python3 main.py &
PLAYER_PID=$!
log_message "Player PID: $PLAYER_PID"