Streamarr Desktop
The Streamarr desktop app plays your media with a native player instead of a browser video element, and streams games from the same server. It exists because the browser cannot do two things the server can serve:
- HDR and high-bitrate video. Browsers restrict what they will decode and how they
render it. The desktop app hands the file to mpv, which supports
gpu-next, HDR passthrough and hardware decoding. - Game streaming over WebRTC. Browser WebRTC imposes its own jitter buffer and decoder sandboxing and gives no access to hardware decoder interop.
The web interface is unchanged and still works in a browser. The desktop app embeds that same interface, but the video and the game stream are decoded outside it.
Status
The app is under active development. Media playback, login and profile management work; game streaming is implemented but not yet verified against a live server. See Limits for what has and has not been tested.
Installation
Linux
Three formats are built. They are equivalent in content; pick by how you manage software.
| Format | Use when | Command |
|---|---|---|
.deb |
Debian, Ubuntu, Linux Mint | sudo apt install ./Streamarr_<version>_amd64.deb |
.rpm |
Fedora, RHEL, openSUSE | sudo dnf install ./Streamarr-<version>-1.x86_64.rpm |
| AppImage | Any distribution, no install | chmod +x Streamarr_<version>_amd64.AppImage && ./Streamarr_<version>_amd64.AppImage |
The AppImage bundles its own libraries (measured: 120 MB) and needs FUSE. Without
FUSE, run it with --appimage-extract-and-run, or extract it and start AppRun
inside the extracted directory — that is the real entry point, and starting
usr/bin/Streamarr directly fails with a WebKit helper-process error because
AppRun is what sets the paths WebKit looks in.
The .deb and .rpm declare the libraries the app links directly, including
libudev1 and libgudev-1.0-0 for controller support. A build that forgets one
installs cleanly and crashes on start — which is why
frontend/src-tauri/scripts/check_bundle_deps.sh compares the package's declarations against
the binary's DT_NEEDED entries and fails if anything is missing.
Windows
NSIS only. The installer is configured (bundle.targets) and built in CI on
windows-latest.
There is no MSI, and the reason is a hard limit rather than an omission: the MSI
target refuses this project's version with app version major number cannot be greater
than 255. WiX keeps the major version in a single byte, and this project versions by
year (2026.2.1), so an MSI cannot express the product version at all. Shipping one
would mean giving the same release two different version numbers depending on the
installer. If you need an MSI, the version scheme has to change first.
It has never been built by a person. There is no Windows host in this project, so the only evidence that the target works is the CI job — which is a different kind of evidence from a build someone ran and clicked through. Treat the installer as unverified until someone runs one on Windows.
The Windows package can browse the library but cannot play anything yet. Two things are missing, and both are native code rather than a setting:
- Games need GStreamer's MSVC development package, which the CI runner does
not have — it is not available through
chocoorapt, and the build fails ingstreamer-webrtc-syswithout it. The installers are built with the feature switched off rather than not built at all. - Media is driven over a Unix domain socket (
--input-ipc-server). Windows has no Unix socket — mpv uses a named pipe there, and that client is not written.Mpv::starttherefore returns an explanation instead of starting a process it could not talk to.
So on Windows the app shows the library, artwork and metadata and gives a clear message when you press play. Both gaps are work, not switches: the named-pipe client, and a Windows machine to test it on.
mpv is required, and not bundled
The app needs mpv on your PATH. It is not installed as a package dependency,
because whether to bundle it or use the system's is still an open decision (plan task
4.2), and because distributions expect to provide their own.
If mpv is missing, playback fails with a message saying so rather than playing
silently into nothing.
Building from source
From frontend/, tauri build does everything: it builds the interface, embeds it
into the binary and writes the packages. That is the path the releases are made with.
If you build the Rust part yourself, enable the custom-protocol feature:
Without it you get a development binary, even with --release. Tauri decides at
compile time whether the interface comes from the built files or from a dev server,
and it decides that from this feature, not from the build profile. A development
binary loads http://localhost:9000 and needs tauri dev running beside it; started
on its own it shows a browser error page instead of the app, which reads like a
network problem and is not one.
This is worth the paragraph because it is invisible in the source: dist/spa is
complete and the build succeeds either way. The tell is the binary — a development
build contains the string localhost:9000, a real one does not.
First start
- Start the app. A configuration directory is created:
~/.config/media.streamarr.desktop/on Linux. - Enter your server address on the login screen — for example
https://streamarr.example.com. If your server is on a private network with its own DNS, see Server address and the IP pin. - Log in. Your session is stored in the operating system's keyring (Secret Service on Linux, Credential Manager on Windows), not in the app's own files.
Profiles
A profile is one server plus one user. Profiles live in
~/.config/media.streamarr.desktop/profiles.json, one directory each under
profiles/<id>/.
profiles/<id>/mpv.conf is a normal mpv configuration file, and it is yours to edit.
Everything the app passes on the command line overrides it, so an entry there cannot
fight the app's own settings — but it is also not silently ignored.
Preferences
| Setting | Default | Meaning |
|---|---|---|
| Start in fullscreen | on | Playback opens fullscreen. See Window behaviour. |
| Ask before transcoding | on | A transcode costs the server far more than a direct play. |
| Audio language | — | An ISO code such as de or en. ger and deu are understood too. |
| Subtitle language | — | The same codes; none keeps subtitles off. |
Language matching uses an explicit ISO 639-1 ↔ 639-2 table rather than a prefix rule,
because the prefix idea is wrong for German (ger/deu), French (fre/fra) and
Spanish (spa) — and it silently merges Slovenian (sl) with Slovak (slk).
Window behaviour
The player is a separate window, not an area inside the app's window, and on Wayland that means it takes over the screen and the interface window is hidden while you watch.
This is not a preference; it is what Wayland allows. A Wayland client may not position
its own windows — gtk_window_move() is ignored by GNOME/Mutter, measured — and GNOME
ships no layer-shell, so a positioned overlay is impossible. A window that covered part
of the interface would therefore have to be placed by the compositor, somewhere
unpredictable.
On X11 and Windows, where clients may position their windows, the player appears as a positioned overlay over the interface instead.
There is a practical consequence worth knowing: the player window is a normal window, so it can be moved, resized or sent to another monitor or workspace with your usual window controls, and closing it stops playback.
Playing media
Open a film or episode and playback starts in a separate window. The interface becomes a status screen: the video is in the player's window, not in the page.
| Key | Action |
|---|---|
Space |
Pause / resume |
F |
Fullscreen |
← / → |
Seek 5 seconds |
↑ / ↓ |
Seek 60 seconds |
9 / 0 |
Volume down / up |
m |
Mute |
j / J |
Cycle subtitle tracks |
# |
Cycle audio tracks |
q |
Quit playback |
These are mpv's own defaults; the profile's mpv.conf can rebind them.
Direct Play and transcoding
When the server can send the original file, the app plays it unmodified — no server CPU is spent and the picture is exactly what is on disk. This is called Direct Play and it is the normal case.
The server transcodes only when it must, for example when the container or codec is one the client did not claim. A transcode is reported before playback starts, because it can make the server slow for everyone else sharing it.
The app tells the server what it can play, so the server does not transcode needlessly. Those capabilities are sent as query parameters, not as a request body: the endpoint ignores a body silently, and the result would be an unnecessary transcode with nothing in any log to explain it.
Resuming
Playback continues where you stopped, with three exceptions, because "start where the user stopped" is wrong more often than it looks:
- Under 30 seconds in — those are studio logos, not a viewing position.
- Inside the credits — the last 120 seconds, or the last 2 % on a long film, whichever is larger. Without this, a film would appear to finish instantly.
- Marked as played — your explicit action wins over a leftover position.
If the status screen offers Start from the beginning, that override is available before playback rather than after it.
Games
Games stream from the server over WebRTC, decoded by GStreamer into a native window of its own — on the desktop the picture is never drawn inside the app window, because the plan's architecture rule is that the webview is UI chrome and every video output is native.
Gamepads work; keyboard and mouse do not yet. The distinction is real and worth stating plainly:
- Gamepads are read by the app itself through
gilrs, so they work — the couch mode and the game use the same reader. - Keyboard and mouse would have to reach the game as well, and the picture is in a window the shell created. Key events go to whichever window has the focus, and a page cannot send events it never receives. Forwarding them needs the shell's own window to handle its input, which is not built. The code says so rather than installing listeners that could never fire.
Not verified against a live session
The client pipeline is proven — a real GStreamer pipeline decodes a real WebRTC
stream over a real data channel, and input reaches the other side
(DECODED=10 INPUT_SENT=6 INPUT_RECEIVED=6, reproducible with
cargo run --features spike --bin game-pipeline-check in frontend/src-tauri/player).
That proof is loopback to loopback. It shows the client's own pipeline works; it says nothing about interoperability with your server. A game actually appearing on screen has not been observed.
GStreamer is needed for games, and is not bundled
Games need GStreamer 1.22 or newer with several plugins: webrtcbin,
rtpjitterbuffer, the H.264 depayloader and parser, a hardware decoder for your GPU
(vah264dec on AMD, nvh264dec on NVIDIA, avdec_h264 as the software
fallback) and a sink for your display server (waylandsink on Wayland,
d3d11videosink on Windows).
These are not bundled, for a reason worth knowing: which decoder is needed depends on the hardware, so a bundle would have to carry every variant. Install them from your distribution. On Fedora:
sudo dnf install gstreamer1-plugins-good gstreamer1-plugins-bad-free \
gstreamer1-plugins-libav gstreamer1-vaapi
If something is missing the app says which element it could not find, rather than showing a black rectangle.
Gamepads
Standard-layout pads (Xbox, DualShock, DualSense, 8BitDo, Stadia, Switch Pro, GameSir) are recognised by name. Anything else is treated as non-standard layout, which swaps the first four buttons. If your pad's A/B and X/Y are swapped, that is why — use the manual override in the settings.
Couch mode (desktop only)
The sofa icon in the toolbar switches the interface into a mode driven by a controller or the arrow keys. It is desktop only — in a browser the button is not shown at all, because there is no controller and no window to fill.
Entering it goes fullscreen; leaving it gives the desktop back.
| Input | Effect |
|---|---|
| D-pad / left stick / arrow keys | Move the highlight |
A / Enter |
Open what is highlighted |
B / Escape |
Leave couch mode |
Holding a direction repeats after a short delay (400 ms, then every 120 ms). The delay exists so an ordinary press moves once: without it a single press would scroll several tiles and land somewhere the user did not aim at.
The highlight is geometric, not positional
"Right" means the nearest item to the right, not "the next item". On a wall of posters with rows of different lengths those differ, and pressing right would skip a tile.
If the button is missing, the app could not reach its own shell — that is a bug worth reporting, not a setting.
If a controller does nothing, check whether one was found: with none connected the app announces "no controller found" and the arrow keys still work. A pad whose A/B and X/Y are swapped is using a non-standard layout — see Gamepads above.
Server address and the IP pin
If your server's hostname does not resolve to the address that actually answers — common with internal DNS, split-horizon DNS or a VPN that advertises an address it cannot serve — enter the real address under IP address in the profile.
This is deliberately not the same as typing the IP as the server address:
- Entering the IP as the address breaks TLS, because certificates are issued for names, not addresses. The connection is refused rather than silently downgraded.
- Entering the name plus the IP as a pin keeps the name for the TLS check and only changes where the connection goes. The certificate still has to match, and it still does.
Without a pin, a request to a dead address waits for the connection timeout and then fails — the app reports this as a timeout with the advice to set the pin, rather than as a generic network error.
Troubleshooting
Reporting a problem
Settings → Report a problem collects what a diagnosis needs and offers to send it to your server's log. Before sending, it shows what would be sent: the app version, the platform, mpv's version and video outputs, whether this build has GStreamer, the capability claims the app made to the server, and the tail of the player logs.
What it does not include, and cannot be made to include: your tokens, your server address, your file paths or your machine's identifiers. The report is built from fixed fields, and the only files it reads are the player's own log files.
If sending fails, the collected text is still on screen so you can copy it into a message. A report is never sent silently.
Where the logs are
| What | Where |
|---|---|
| App startup, profiles, tokens | the terminal, if you started it from one |
| mpv | $XDG_RUNTIME_DIR/streamarr-mpv-<pid>-<n>.log |
| Your configuration | ~/.config/media.streamarr.desktop/ |
mpv writes its own log file rather than being captured through its output
stream. Redirecting its output produced 0-byte files that looked like working
diagnostics — mpv's --no-terminal suppresses exactly the messages worth
keeping — so the log file is the only trustworthy source.
The window shows a connection error instead of the app
If you built the binary yourself, see
Building from source — this is the custom-protocol feature
missing, and it looks like a network fault while the server is fine. A hint that
settles it: a development binary contains the string localhost:9000.
If the app was installed from a package, this is not the cause: those are built
with tauri build and carry the interface inside them. Check the server address and
the IP pin instead.
"Playback failed" with no further detail
Check that mpv is installed and on your PATH:
The film starts from the beginning every time
If it is under 30 seconds in, that is intended. Otherwise check that progress is reaching the server: the app reports your position as you watch, and a position the server never received cannot be resumed from.
The video plays but the audio does not
Check the audio track, not the volume. Files often carry several tracks and the profile's
language preference decides which one is selected. Look in the player's own log file —
the app passes --log-file, so mpv's diagnostics are kept rather than discarded:
The line AO: [<driver>] names the output device mpv chose.
Nothing loads at all, and the interface stays empty
The app's own log is at ~/.config/media.streamarr.desktop/ (and on stderr). Look for
Konfiguration: on startup, which reports where the configuration lives, and for
Token-Ablage: right after it, which reports where credentials end up.
Credentials are not stored in the keyring
The app reports Token-Ablage: on startup. If the keyring is unavailable — a headless
session or a container without a Secret Service — the app falls back to a file with
restricted permissions and says so, rather than refusing to run.
Common cases
"mpv is not installed" — the app starts but cannot play anything. Install mpv; it is deliberately not a hard package dependency, because distributions expect to provide their own and the app is usable without it for browsing.
A game shows a black picture — a decoder or sink element is missing. The app
names the missing element and a package to install, for example
vaapidecodebin or vah264dec. The set differs by hardware: AMD needs
gstreamer1-vaapi, NVIDIA a different plugin, and wayland needs
gstreamer1-plugins-bad-free for waylandsink.
The window is black but the audio plays — the video sink was selected for the
wrong display server. On Wayland the app uses waylandsink; glimagesink, which
the plan originally named, aborts the process when it is handed a Wayland surface.
Updates
Streamarr Desktop updates itself from the project's release feed — not from your server. That is deliberate, and the reason is worth knowing if you self-host.
The app is a client: your profiles say where media and games come from, and there can be several. The update feed is a fixed address compiled into the bundle. If it pointed at your instance, then whoever runs whatever server you typed in would decide which code your computer runs — and with two profiles there would be no way to say which one should. Every deployment would also have to carry and maintain desktop bundles. Measured: the server does not check the client's version at all, so app and server versions are genuinely independent — they happen to read the same number today, but nothing couples them.
The app follows one of two channels:
| Channel | Receives |
|---|---|
stable |
Released versions only. The default. |
beta |
Pre-releases as well. |
A build whose version carries a pre-release suffix (2026.3.0-beta.1) follows beta
automatically; everything else follows stable. A stable build is never offered a
pre-release, even when the pre-release carries the higher number — a channel is a promise,
and the check happens before the version comparison for exactly that reason. A beta build
receives both channels, so it is not stranded when it wants to come back to stable.
An update that is offered is verified against a public key compiled into the bundle; an unsigned or wrongly signed update is refused. There is no setting to skip that check.
"It says it is up to date"
The app writes the reason to its log for every check, so the answer does not have to be guessed. The three possible answers are different and are not conflated:
- An update is available. The only case the app shows you anything.
- There is none. The log names both versions.
- This build cannot check — it was built without an update endpoint or without a signing key. That is a build problem, not a network problem, and retrying will not help.
Being offline is not treated as an error. An app that complains about a failed update check on every start is an app whose messages people learn to ignore — and then a real one gets ignored too.
Limits
What has been measured, and what has not:
Verified
- The app starts on Wayland, creates its configuration, and stores credentials in the OS keyring.
- Sign-in against a live instance, and the session surviving a restart. After a real
login the keyring holds the session (694 characters, fields
access_token,expires_in,refresh_token,token_type), and a restart makes zero login requests while the authenticated home page loads. The refresh token reaches/api/auth/refreshand nowhere else. - A film playing from the real server. Position advanced from 0.00 s to 2.00 s, and
mpv's own track list was read back live (
#1 Video h264,#1 Audio ger aac). - Deep links.
streamarr://is registered with the desktop (xdg-mime query default x-scheme-handler/streamarranswersstreamarr-handler.desktop), and a URL handed to a running app is received — verified with two processes, where the second exits and the first logs the link. A login link naming a foreignserveris refused, with the reason in the log. - Update checks reach the release feed without any server. The feed was fetched from a machine with no Streamarr instance, no profile and no token.
- Media playback: direct play from the server's file endpoint, resume at a stored
position, HDR mode selection, and the address pin reaching a player that has no
equivalent of
curl --resolve. - Bundles:
.deband.rpmbuilt, their contents inspected, and every directly linked library declared — checked mechanically byfrontend/src-tauri/scripts/check_bundle_deps.sh, which found eight undeclared dependencies the first time it ran. - The extracted AppImage starts.
check_versions.shholds the three product versions together.
Not verified
- Direct Play. Not measurable on this instance: it transcodes every
ac3/dtstrack toaac, so nothing it serves is playable by copying. The transcode path is what ran, and it needed a defect fixed first — the HLS manifest carries the play token as a query parameter while its segment URIs are relative, so the query is dropped (RFC 3986 §5.3) and every segment answers401 No play token provided. The player now sends the token as anAuthorizationheader for the whole chain. - A game's picture on screen. The client is a real WebRTC peer: it answers the
server's offer, sets the remote and local description, and reaches
HTTP 101andICE Checkingagainst the live Lightrays service. It then fails atICE Failed, and the reason is on the server: the offer's SDP carries no candidates and the trickled ones are the game container's Docker-internal172.21.0.3, which nothing outside that Docker network can reach (the client's own candidates are right). Negotiation is proven; the picture is not, and it is not this app's defect. - Couch mode with a physical controller. The geometry, the repeat rule and the shell commands are covered by tests, and the keyboard path is tested end to end. No gamepad has ever been plugged into this machine, so the controller path has never been driven by a person.
- The OIDC/browser login end to end. The test server has
oidc_enabled: false, so a real browser login cannot be exercised. The link's shape is checked against the server's own callback endpoint, read from its sources. - Installing an update. No release has been published, so no update has ever been
downloaded and installed. The feed answers
HTTP 404today, which the app treats as "no release yet" rather than as a failure. - A support report actually arriving. The command's logic and the dialog are tested; no report has been sent to a running server and read back.
- Windows installation. An NSIS installer is built by CI on
windows-latestand the job asserts the artefact exists — but no person has built or clicked through one. That is a different kind of evidence from a build someone ran, and this project has no Windows host to do it on. - AppImage mounting. FUSE does not work in the build container
(
fusermountis absent), so the mounted image has never been started. The extracted AppImage was: throughAppRunit runs until its timeout is reached and reports its configuration. Startingusr/bin/Streamarrdirectly fails with a WebKit helper-process error, which is expected —AppRunis what sets the paths WebKit looks in. - macOS. Out of scope for now.