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
+1 -1
View File
@@ -10,8 +10,8 @@ directories = "6.0.0"
env_logger = "0.11.11"
fontique = { version = "0.11", default-features = false, features = ["fontconfig-dlopen"] }
gilrs = "0.11.2"
gstreamer = "0.25.4"
image = { version = "0.25.10", default-features = false, features = ["jpeg", "png", "webp"] }
libc = "0.2.191"
log = "0.4.35"
lru = "0.19.0"
md5 = "0.8.1"