Table of Contents

mpv-control

Video and image display application for escape rooms. Plays video files, shows images, and plays audio in fullscreen on a dedicated screen — a monitor, TV, or projector connected to a mini-PC.

Controlled via HTTP REST API from Node-RED on the Main PC.

Status: Production.

Key Features

Supported Formats

How It Works

mpv-control runs on a dedicated mini-PC (BeeLink) connected to a display. The application controls the MPV media player via IPC socket. Node-RED sends simple HTTP GET requests to trigger playback.

Files are loaded paused by default — a separate play command starts the playback. This allows precise synchronization with other room events.

HTTP API

All endpoints use GET method. Default port: 3000.

Endpoint Description
/files List all media files in the media directory (JSON tree)
/load?file=<path> Load a file (paused by default)
/play Start or resume playback
/pause Pause playback
/stop Stop playback
/forward Seek forward 10 seconds
/backward Seek backward 10 seconds

Hardware

Full API reference

Web UI

A built-in web interface is available at http:<ip>:3000'' for manual testing — file browser with playback controls. During normal operation, everything is controlled from Node-RED.