mediapi/mediapi
Jean-Michel Tremblay 5972ac2736 Replace Kodi with mpv as the player; drive it over its JSON IPC socket
Kodi was overkill for a phone-driven "play this video" box: a full media
center (web server, CEC, library DB) whose surface area is exactly what
wedged the Pi -- a video-decode session left Kodi stuck in an
uninterruptible firmware-mailbox call after a kernel keyring Oops, dead
until a power cycle.

mpv is just a video player: hardware-decoded straight on KMS/DRM, no
media-center baggage. It runs as its own --idle systemd service holding
the playlist, so playback keeps going even if the app/phone/WiFi drop --
the same autonomy Kodi's native playlist gave us. The app talks to it
over its JSON IPC Unix socket.

PlayerStateManager keeps the exact same public API, so the Flask routes,
templates, and UI are unchanged (only the engine underneath swaps out).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-09 18:16:20 -04:00
..
routes Replace Kodi with mpv as the player; drive it over its JSON IPC socket 2026-07-09 18:16:20 -04:00
static Replace Kodi with mpv as the player; drive it over its JSON IPC socket 2026-07-09 18:16:20 -04:00
templates Make the progress bar draggable to seek to a position 2026-07-08 20:15:09 -04:00
__init__.py Replace Kodi with mpv as the player; drive it over its JSON IPC socket 2026-07-09 18:16:20 -04:00
auth.py Initial mediapi: WiFi AP + media browser with HDMI playback control 2026-07-05 21:45:57 -04:00
config.py Replace Kodi with mpv as the player; drive it over its JSON IPC socket 2026-07-09 18:16:20 -04:00
media.py Initial mediapi: WiFi AP + media browser with HDMI playback control 2026-07-05 21:45:57 -04:00
mpv.py Replace Kodi with mpv as the player; drive it over its JSON IPC socket 2026-07-09 18:16:20 -04:00
player.py Replace Kodi with mpv as the player; drive it over its JSON IPC socket 2026-07-09 18:16:20 -04:00