- Enhanced install.sh with comprehensive autostart workflow: * XDG autostart entry (desktop environment) * systemd user service (most reliable) * LXDE autostart support (Raspberry Pi OS) * Cron fallback (@reboot) * Terminal mode enabled for debugging - Added Raspberry Pi power management features: * Disable HDMI screen blanking * Prevent CPU power saving (performance mode) * Disable system sleep/suspend * X11 screensaver disabled * Display power management (DPMS) disabled - Fixed sudo compatibility: * Properly detects actual user when run with sudo * Correct file ownership for user configs * systemctl --user works correctly - Player launches in terminal for error visibility - Autostart configured to use start.sh (watchdog with auto-restart)
10 lines
260 B
JSON
10 lines
260 B
JSON
{
|
|
"hostname": "rpi-tvcanba1",
|
|
"auth_code": "LhfERILw4cFxejhbIUuQ72QddisRgHMAm7kUSty64LA",
|
|
"player_id": 1,
|
|
"player_name": "TVacasa",
|
|
"playlist_id": 1,
|
|
"orientation": "Landscape",
|
|
"authenticated": true,
|
|
"server_url": "https://192.168.0.121:443"
|
|
} |