Commit Graph
7 Commits
Author SHA1 Message Date
Ansho Rei c12ed3e12d fix: log in with the password on servers that refuse tokens
Nextcloud Music answers a token login with Subsonic error 41, so remus
could not log in to it at all. Login now retries with the password,
hex-encoded as the spec allows, when the server returns 41, and saves
which method worked. Servers that accept tokens are unaffected, and
existing login files still load.

Server errors now keep their code. A wrong password on Nextcloud adds a
line about the API password from the Music app's settings, which is not
the Nextcloud login password.
2026-11-04 03:44:34 +01:00
Ansho Rei a74fd1bd5c build: package remus as a Flatpak for SteamOS
SteamOS has a read-only root filesystem, so a Flatpak is the way to
install it. The build is offline from vendored crates. make
flatpak-bundle writes one file to copy to a Steam machine, and
make sdk-check runs the checks inside the SDK for hosts without the
GStreamer development files.
2026-11-04 02:19:07 +01:00
Ansho Rei af307549a8 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.
2026-11-04 02:19:07 +01:00
Ansho Rei 89b9a9a226 chore: license under MIT 2026-11-04 02:19:07 +01:00
Ansho Rei f10c2776aa feat: retry a page that failed to load on its own
On a Steam machine remus can start before the network is up, so the
first page load fails even though the saved login is fine. An empty
page now retries with backoff (2 s doubling to 30 s) and fills in once
the server is reachable, without anyone pressing a button.
2026-11-04 01:17:29 +01:00
Ansho Rei b1914e4ac1 build: add a Makefile with check, test-live and shots targets
make check runs what has to pass before a commit: rustfmt, clippy with
warnings as errors, and the unit tests. make shots screenshots the
main screens against the Navidrome demo server using a scratch config.
2026-11-04 01:17:29 +01:00
Ansho Rei 4105554f68 feat: add a controller-driven Subsonic player for SteamOS
Browses a Subsonic library and plays it through mpv, driven by a
gamepad or keyboard. The UI scales from the window's physical height
rather than the compositor's scale factor, so it keeps its proportions
on a Steam Deck and on a 4K TV, where other players open small or
scale badly.
2026-11-04 01:17:29 +01:00