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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user