About this project

Phlix Media Server is a self-hosted media solution built with PHP 8.3+ and Workerman. It provides comprehensive media management capabilities including automatic library scanning, organization, and browsing. The server supports HLS and DASH adaptive bitrate streaming with transcoding via FFmpeg, including hardware acceleration options. Key features include: - Real-time SyncPlay for synchronized group watching with sub-second accuracy - Live TV and DVR functionality with multi-tuner support (DVB-T/S/C, ATSC) - Multi-source metadata fetching from TMDB, TVDB, Fanart.tv, and local NFO files - User authentication with JWT tokens and refresh support - Optional external authentication via OIDC, LDAP, and GitHub - Content filtering with parental controls including rating restrictions and genre-based filtering - Multiple user profiles per account with PIN protection - DLNA streaming support for compatible devices The architecture features a Vue SPA web interface served at /app, with REST API endpoints for library browsing and media information. It uses PSR-11 DI container and PSR-14 event dispatcher for modular design. The system includes a plugin architecture allowing for extension through sandboxed plugins with signature-checked manifests. Installation is supported via a one-line installer script for Ubuntu/Debian systems that handles dependencies, configuration, and service setup. The solution can be run alongside other Phlix components like phlix-hub on the same server with shared HAProxy configuration.