Guide

Turn on streaming to music apps

Switch on the Subsonic and Jellyfin APIs so people can play the library in apps like Symfonium and Finamp, and set how tracks are transcoded.

Admins only Checked against v3.1.0 Updated Edit this page Report a problem

Liner notes

At a glance

Who
Admins only
Where
Settings › Connect Apps
You need
ffmpeg for transcoding (the Docker image includes it)

Both APIs are off until you switch them on. They are server-wide: once one is on, each person connects their own apps with their own app-passwords.

Steps#

  1. Open Connect Apps#

    Go to Settings › Connect Apps. The pane reads “Let music apps like Symfonium and Finamp stream this library over the OpenSubsonic or Jellyfin protocols.”

  2. Turn on the APIs people need#

    Under Protocols, turn on OpenSubsonic API for Subsonic apps (tested with Symfonium, Feishin and Arpeggi) and Jellyfin-compatible API for Jellyfin apps (tested with Finamp, Jellify and Manet). You can turn on one or both. More on each in How music apps connect.

  3. Check the transcoding settings#

    On-the-fly transcoding is on at first. It converts a track only when an app asks for another format or a lower bitrate. Under it, Default format is MP3 or Opus, and Max bitrate (kbps) is the most an MP3 or Opus transcode may use, from 32 to 1411 (320 at first).

    The same switch lets the web player convert tracks a browser can’t play, so turning it off affects the web player too (Supported formats).

  4. Save#

    Press Save.

  5. Tell people how to connect#

    Each person makes an app-password under Profile › Connect Apps and enters it in their app. Point them at Connect a Subsonic app or Connect a Jellyfin app.

Let apps sign people in through the browser

An app that supports it can get an app-password through the browser, so nobody types one on a phone. It works only for apps you list in the Sign-in from apps card on the same page.

  1. Press Add app.
  2. Fill in Client ID and Name, and the app’s Return addresses, one per line. The app’s maker gives you the client ID and the return addresses, which must match exactly.
  3. Press Save in that card.

You can list up to eight apps, each with up to four return addresses. Remove takes an app off the list: it can’t start new sign-ins, but the app-passwords it already got keep working until they are revoked. The details, including what each field may hold, are in Signing in apps from the browser.

See and revoke anyone's app-passwords

The Connected app-passwords card lists every app-password on the server, with its owner, name, when it was created and last used, and the Last client that used it. The secrets themselves are never shown. Revoke asks you to confirm, then disconnects that app at once; its owner can make a new one from their profile.

Check it worked#

  • Under Profile › Connect Apps, the OpenSubsonic and Jellyfin boxes no longer carry the not enabled yet chip for the APIs you turned on.
  • After someone connects an app, their app-password’s Last used and Last client fill in under Connected app-passwords.

If something went wrong#

Each heading below is the message DroppedNeedle shows, or what you see.

The Subsonic API is disabled on this server.

A Subsonic app gets this answer while OpenSubsonic API is off. Turn it on and press Save. While Jellyfin-compatible API is off, a Jellyfin app finds nothing at all at the address: every request answers 404.

A Jellyfin app reports the server is busy right after a restart

For a short time after the server starts, the Jellyfin API answers 503 with a Retry-After header while it loads its stored ids. The app can try again a moment later.

Finamp won't play a transcoded track

Finamp’s transcoded playback uses HLS, which needs On-the-fly transcoding on and ffmpeg installed. Without them, apps get the original file.

An app is given an http address, or the wrong host, for pictures and streams

The addresses DroppedNeedle hands to apps come from the request: the host the app used, or the proxy’s forwarded headers when the proxy is trusted. See Addresses given to player apps.

Docs