Files
2026-06-07 23:40:50 +03:00

90 lines
2.3 KiB
Plaintext

// Player Configuration Template
// Generated by DigiServer SSH Deployment System
// Location: ~/kiwy-signage/config.json
{
"player": {
// Unique identifier for this player instance
"name": "Example Player",
// Internal ID (lowercase, no spaces)
"id": "example-player-001",
// Physical location or description
"location": "Main Lobby, Building A",
// Configuration version
"version": "2.0"
},
"server": {
// Base URL of DigiServer instance
// Auto-detected and set by deployment system
"url": "http://localhost/digiserver",
// API base endpoint
"api_endpoint": "http://localhost/digiserver/api",
// Authentication configuration
"authentication": {
// Type of authentication (currently only "api_key" supported)
"type": "api_key",
// API key for authentication
// Generated uniquely per player instance
// Do NOT share across players
"key": "a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6"
},
// API endpoints for various operations
"endpoints": {
// Get playlists assigned to this player
"playlists": "http://localhost/digiserver/api/playlists",
// Download content (media files)
"content": "http://localhost/digiserver/api/content",
// Get playback schedule
"schedule": "http://localhost/digiserver/api/schedule",
// Send player heartbeat (status updates)
"heartbeat": "http://localhost/digiserver/api/player/heartbeat",
// Upload player logs
"logs": "http://localhost/digiserver/api/player/logs"
}
},
"playback": {
// Enable audio playback
"audio_enabled": true,
// Enable video playback
"video_enabled": true,
// Maximum output resolution
// Options: "1080p", "1440p", "2K", "4K", "8K"
"max_resolution": "4K",
// Content refresh interval in seconds
// How often to check server for new playlists/content
"refresh_interval": 60,
// Display rotation in degrees
// Options: "0", "90", "180", "270"
"rotation": "0"
},
"networking": {
// Connection timeout in seconds
// Time to wait for server responses
"timeout": 30,
// Number of retry attempts on connection failure
"retry_count": 3,
// Delay between retries in seconds
"retry_delay": 5
}
}