github ifsvivek/nocturne v0.7.0
NOCTURNE 0.7.0

49 minutes ago

NOCTURNE can now serve all your servers and local folders to Jellyfin apps on your phone or TV as one server, and can send requests to Radarr and Sonarr without a Seerr server.

Highlights

  • The gateway: one Jellyfin-compatible address over every server and local folder. Jellyfin apps browse one merged library, play from whichever server has the copy they pick, and (when you allow it) see and control the players on all your servers. It runs on this computer only by default, keeps every server token to itself, and can keep running after NOCTURNE is closed.
  • Requests in the header's top right, with a Discover view of trending, popular and upcoming movies and shows, search and filters.
  • Requests without a Seerr server: a list kept on your computer that turns Available when a source has the title, optionally sent to your own Radarr and Sonarr after a confirmation.

Fixed

  • Themes that shrink Search to an icon no longer show the Requests button as a second search icon.

Known limitations

  • The gateway is Linux only for now (not in the Windows and macOS previews), and the official phone and TV apps have not been tried by the project yet; report what your app does.
  • A change made directly on a server reaches apps connected to the gateway after a short delay, not at once.
  • The gateway does not transcode local files (direct play only) and has one sign-in for all devices.

Added

  • Gateway foundation (0.7): the new optional nocturne-gateway binary (axum, off unless started) with the allow-list router, gateway sign-in (one user, Argon2id passphrase, revocable device tokens, Quick Connect), the id map, binding modes with bring-your-own TLS, a control socket for the app, and UDP discovery in local-network mode. Library, streaming and remote-control routes follow. The Linux packages ship the second binary.
  • Gateway remote control (0.7): a merged session list across your servers and the apps signed in to the gateway, and commands (play, pause, seek, next, volume, tracks, messages) delivered to those apps over the gateway's own WebSocket or forwarded to the device's own server. Off by default behind Settings > Gateway > Allow remote control; commands to a device on a real server also need server changes on, only a fixed list of player commands is accepted, at most 20 per second per device. The /socket WebSocket pushes session changes only while a client listens and coalesces library and watched-state news.
  • Settings > Gateway: switch the gateway on and off (NOCTURNE starts and stops the helper), choose who may connect, port, caching, remote control, per-server views and local-network discovery; see status, the address with Copy and a QR code, the generated password (shown once, regenerate any time), approve Quick Connect codes and revoke signed-in devices. "Keep running when NOCTURNE is closed" installs a systemd user service on Linux. A server whose ServerId is the gateway's own cannot be added as a source.
  • In-app updates also install nocturne-gateway next to nocturne when the release archive contains it.
  • Requests entry in the header's top right, next to Search, shown when a Seerr server is signed in or requests without Seerr are on. It replaces the Requests link in the link row.
  • Discover on the Requests page: browse trending, popular and upcoming movies and shows, search, and filter by movies or shows, genre and year. Cards show the poster, year, rating and status (Available on your servers, Pending, Requested, Queued, Downloading, Not requested), a title any source has opens its page, and Request uses the confirmation dialog with the season choice. Titles come from your Seerr server, else your own TMDB key, else Trakt; Radarr or Sonarr alone can search. With none connected it says what to connect.
  • Requests without a Seerr server (Settings > Requests, off by default): a list kept on this computer (wishlist.json). A request turns Available by itself when the title or the requested seasons appear on any source, with a notice. Nothing leaves the computer.
  • Optional Radarr and Sonarr (Settings > Requests): connect your own with an address and API key (the key stays in the keyring), test the connection and pick the quality profile and root folder from what the service lists. With "Add requests to Radarr and Sonarr" on, a request made without Seerr is also added there, after the confirmation dialog (movies to Radarr, shows with the picked seasons to Sonarr), and its status follows the service. New crate nocturne-arr, scripts/test-arr.sh for throwaway services.
  • scripts/mock-requests.py: mock TMDB, Seerr, Radarr and Sonarr with invented titles for headless screenshots of the Requests page.
  • Gateway library and playback (0.7): views, items (modern and legacy forms), Home rows, search, seasons and episodes, filter lists and images, merged across servers by provider id with one media source per server, plus local folders as direct-play items. Streams are proxied with Range, HLS playlists are rewritten so no server token, address or file path reaches a client, and watched and resume state is kept in a gateway overlay and forwarded to the item's own server only with the write switches on. Paths are matched case-insensitively. The test script gains a second instance (test-jellyfin.sh start 2).
  • Gateway hardening (0.7): a session's now-playing item shows the real title, type, runtime and artwork tags (never a file path), the WebSocket pushes watched, favourite and resume changes and library news after a reload, and a security review with new tests (headers never forwarded to servers, redirects never followed, every write refused with server changes off, WebSocket and login limits, loopback and LAN binding, local files confined to their folders). jellyfin-mpv-shim was driven end to end through the gateway.

Don't miss a new nocturne release

NewReleases is sending notifications on new releases.