mpv is a key part of my home theatre automation I wrote in PHP.
It runs on a Pi 4. PHP assembles playlists with a Dolby ad, a vintage dancing hot dog ad, trailers, and the feature. It runs mpv through proc_open.
It monitors the progress and controls mpv through a socket to know when to dim or raise the lights, open or close the curtain, etc.
replies(1):