- Complete Kivy-based signage player application - Fetches playlists from DigiServer via REST API - Supports images (JPG, PNG, GIF, BMP) and videos (MP4, AVI, MKV, MOV, WEBM) - Modern UI with touch controls and settings popup - Separated UI (KV file) from business logic (Python) - Fullscreen media display with proper scaling - Server feedback system for player status reporting - Auto-hide controls with mouse/touch activation - Virtual environment setup with requirements.txt - Installation and run scripts included Features: ✅ Cross-platform Kivy framework ✅ Server integration with DigiServer ✅ Media playback with duration control ✅ Player feedback and status reporting ✅ Settings management with persistent config ✅ Error handling and recovery ✅ Clean architecture with KV file separation
22 lines
617 B
Bash
22 lines
617 B
Bash
#!/bin/bash
|
|
|
|
# Kivy Signage Player Installation Script
|
|
|
|
echo "Installing Kivy Signage Player dependencies..."
|
|
|
|
# Update system
|
|
sudo apt update
|
|
|
|
# Install system dependencies for Kivy
|
|
sudo apt install -y python3-pip python3-setuptools
|
|
sudo apt install -y python3-dev
|
|
sudo apt install -y libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev
|
|
sudo apt install -y libportmidi-dev libswscale-dev libavformat-dev libavcodec-dev
|
|
sudo apt install -y zlib1g-dev
|
|
|
|
# Install Python dependencies
|
|
pip3 install -r requirements.txt
|
|
|
|
echo "Installation completed!"
|
|
echo "To run the player:"
|
|
echo "cd src && python3 main.py" |