Fix Python 3.13 compatibility and installation issues
- Replaced all cp311 wheels with cp313 wheels for Python 3.13 compatibility - Added new dependency wheels: aiohappyeyeballs, evdev, ffpyplayer - Rebuilt install.sh with virtual environment + offline wheel installation - Added --sudo-user/-U and --sudo-password/-W CLI arguments - Added run_sudo() helper to avoid password prompts during installation - Fixed 'Setting Up Player Directories' hang (cat->stdin) by using touch - Updated start.sh to activate virtual environment before running player - Updated run_player.sh to activate virtual environment - Removed old cp311 incompatible wheels - Added backup of previous install.sh as install.sh.bak
This commit is contained in:
Executable
+11
@@ -0,0 +1,11 @@
|
||||
#\!/bin/bash
|
||||
SCRIPT_DIR="/home/pi/kiwy-signage"
|
||||
LOG_FILE="/home/pi/kiwy-signage/logs/player-background.log"
|
||||
mkdir -p "."
|
||||
echo "[2026-07-17 10:18:24] Starting player in background..." >> ""
|
||||
cd "/home/pi/kiwy-signage" || exit 1
|
||||
nohup bash start.sh >> "" 2>&1 &
|
||||
PLAYER_PID=$\!
|
||||
echo "[2026-07-17 10:18:24] Player started with PID: $PLAYER_PID" >> ""
|
||||
echo "Player started in background (PID: $PLAYER_PID)"
|
||||
echo "Logs: $LOG_FILE"
|
||||
Reference in New Issue
Block a user