feat: play through GStreamer instead of mpv

A Flatpak cannot run the host's mpv, and SteamOS does not ship one.
GStreamer comes with the Flatpak runtime, so the player now drives
playbin in-process. The next track is handed over in about-to-finish,
which keeps playback gapless as it was with mpv. GStreamer's HTTP
errors quote the stream URL, so its query string, which carries the
auth token, is stripped before logging.
This commit is contained in:
Ansho Rei
2026-11-04 02:19:07 +01:00
parent 89b9a9a226
commit af307549a8
5 changed files with 484 additions and 132 deletions
+2 -1
View File
@@ -6,7 +6,8 @@ It opens fullscreen. Its UI is sized from the window's physical height, not from
## Requirements
- `mpv` on the PATH. remus runs it as a child process and controls it over its JSON IPC socket.
- GStreamer 1.24 or newer with the base and good plugins, for playback. The Flatpak brings its own.
- To build outside the Flatpak: `libgstreamer1.0-dev` and `libgstreamer-plugins-base1.0-dev` (Debian/Ubuntu names).
- A Subsonic or OpenSubsonic server (Navidrome, Gonic, Airsonic...).
## Run