Open beta Leyla is free until December 31, 2026. Preorder at founders’ prices

Download

Leyla 0.13.0

2026-10-20

Fifty-nine migrations, 0239 to 0391: 0239 (link profiles), 0240 (evidence from Radarr and Sonarr for identification), 0241 (holds on the removals of a root that looks unmounted), 0242 (identification scores), 0243 (every playback session names its sign-in), 0244 (playback events in monthly partitions only), 0245 (keyframe indexes always carry their probe key), 0246 (provider ids carry their kind), 0248 (the unused published_at column of the outbox dropped), 0249 (finished jobs rolled into a daily count), 0250 (folder groups for identification), 0251 (sessions always carry their planning inputs), 0252 (a cached plugin index always names its key), 0253 (the artwork placeholder backfill removed), 0254 (paused sessions), 0255 (titles a viewer hides), 0256 (spoiler-free unwatched episodes), 0257 (original titles on cards), 0260 (the playback outcome ledger), 0261 (devices first seen before the rename renamed), 0262 (opt-in outcome reports), 0270 (the viewer's start playback choice), 0280 (episode placement for identification), 0285 (one answer for a group of folders), 0286 (home videos), 0290 (OpenID Connect sign-in), 0291 (model choices), 0300 (content packs), 0310 (the catalog's column segments), 0311 (media facts leave their rows), 0312 (bookkeeping of media sources), 0320 (the model runner), 0330 (the class of each playing device), 0331 (provider ids in the catalog scopes), 0332 (provider facts leave their rows), 0333 (provider sign-out), 0334 (groups from the sign-in provider), 0335 (who is on screen), 0336 (libraries managed by Radarr or Sonarr), 0337 (catalog ids), 0338 (items leave their rows), 0340 (encode helpers), 0341 (a viewer's sound offset per device), 0342 (derived facts leave their rows), 0343 (person images leave their rows), 0344 (artwork leaves its rows), 0345 (subtitle assets leave their rows), 0346 (media sources leave their columns), 0347 (file records leave their columns), 0348 (file records drop the moved columns), 0349 (when a library root was last walked), 0350 (revision bits on recommendation links), 0351 (the catalog edit log), 0352 (edits moved to the log), 0360 (answers to episode numbering questions), 0361 (a question left unanswered is named), 0370 (the Data saver setting), 0390 (favourites folded into Likes) and 0391 (the Home hero's source).

After upgrading:

  • The first start moves the catalog into column segments (0310 to 0352). On a catalog of 37,000 files the moves took about a minute. Nothing needs doing, but the first start after the upgrade is longer than usual, and the verification set written after it describes the new layout.
  • Favorites are gone. Save (with a list picker) and Like replace them. Migration 0390 turns every favourite into a Like where the viewer had not said anything, and marks those accounts for a recommendation rebuild. Exports and imports say likes.
  • The web client no longer keeps copies in the browser: Downloads, the offline player and Offline Home are gone from the browser. Downloads stay in the phone and tablet app.
  • The official plugin index address is [plugins].official_index_url (it defaults to the live index). recommendations.auto_update_packs and recommendations.pack_update_url are settings in the app now, not config-file keys.
  • The renamed-keys machinery is removed: a config key is read only under its current name. Stream links of the v1 form are refused.
  • Update the metadata plugins the card offers (a person without a name and a null field are read as absent). The retired sonarr-requests and radarr-requests plugins are removed; requests go to Sonarr and Radarr through the server.
  • Settings, Server, Packs lists OCR language packs and model packs from one signed index (index sequence 5). Riff, the text model, is there and is fetched only when you switch it on. Leyla hosts only its own pack files; other packs come from their pinned upstream. The same list is at leyla.media/packs.
  • Sign-in providers (OpenID Connect) are set up under Settings, Server. The Leyla apps use the same redirect addresses as the web client; the new guide in docs walks through Authentik.
  • Settings, Database lets you point Leyla at another PostgreSQL server. The bundled one stays the default.
  • The first-run wizard has a new order and new steps (database, capacity, where details come from, plugins, models, languages, apps, summary), and an administrator whose server has no answer is asked once whether to name who is on screen. Installs already set up are not asked again, except for that one question.
  • Home sections are ordered with a list in Settings. Home's hero follows the viewer's choice of source (Account, Home).
  • The Linux packages move the programs to /usr/libexec/leyla so the .rpm starts on Fedora and RHEL with SELinux enforcing, and the service starts after the network shares in /etc/fstab.
  • The first hours after the upgrade do background work at low priority, such as the scene-people pass and local model jobs at idle. Nothing needs doing.

Server

  • Identification is a scored decision. Each folder is read once, files are grouped by the film or series they belong to, and one question per folder group answers every sibling. The ids Radarr or Sonarr hold a file under, the tags inside the file and the show's own episode list count as evidence. A bundled identity pack (Wikidata, signed, 3.2 MB resident) finds a film or series by name; the harness found 93.2 % of a 37,000-file library's films by id.
  • A file that is a guess, or that no provider answered for, is a home video and not a wrong film. Home draws a Home videos row. A partial copy is badged. A yearless disc part (Hamlet.cd1.mkv) is no longer a title. A Blu-ray folder gives its main title.
  • Provider ids are looked up with their kind, so a film and a series sharing a number no longer collide.
  • The catalog is stored in column segments: media facts, provider records, credits, people, items, chapters, loudness, subtitle passes, artwork, person photos, sources and file records. Compaction runs as a background loop. The relational rest measures 3.3 MB per 1,000 titles.
  • Hand edits and operator decisions go to an edit log with history and undo.
  • The offline subset: GET /api/v1/offline/catalog answers one signed package of the account's libraries so an app can browse with the server away. The older offline package list route is removed.
  • A request limit applies per signed-in account and per address. A client that is limited gets RATE_LIMITED and waits out Retry-After. Sign-in damping keys IPv6 by /64 and never locks everyone out. Connections that never send a request are closed.
  • OpenID Connect sign-in with providers an administrator sets up in the app, including sign-out at the provider and groups from the provider's claim. Refusals show a fixed sentence per code.
  • Sonarr and Radarr are integrated further: each request shows the arr's own word (wanted, searching, grabbed, importing, imported, failed), Requests browse lists missing seasons and collections, a library can be marked as managed by Radarr or Sonarr, and each instance's health shows on the Server page.
  • Who is on screen: a pass listens to the naming lines only, matches faces and voices against the faces pack (50,000 most credited people), and stores a timeline that ships with the playback session. X-Ray's In scene tab reads it.
  • DLNA and AirPlay: Leyla is a DLNA media server on the home network, and the apps cast to AirPlay. The routes answer only on the local network.
  • A local model runner (llama.cpp) serves titles by what they are about and a model's evidence for the folders identification could not decide. Each ready model has a switch and a measured speed.
  • Opt-in daily outcome reports of bucketed planner counts, shown verbatim in the wizard and in Settings. A playback outcome ledger rolls every play into daily counts.
  • A viewer can hide a title from Home and browse and show it again from Your account. Account settings Blur pictures, hide stories and Titles on cards (original titles) are off by default. The export includes hidden titles and identification answers.
  • A film's local trailers and extras are listed on its title page. Quality badges (4K, Dolby Vision, HDR10, HLG, Atmos, 7.1, 5.1) come from the probe. A title page shows the collections it is in.
  • Episodes without a still get a picture from an early keyframe. Genre tiles have covers, and the providers' spellings of one genre join into one shelf. Best of a library ranks by the critics' score the title page shows.
  • A library scan holds the removals of a root that looks partly unmounted, and Storage says when the database or Leyla's folders sit on a network or userspace filesystem.
  • Anamorphic video keeps its pixel shape and every route shows it at the display shape. Matroska and MP4 files whose clock starts after zero keep their length and subtitles on the picture's clock.
  • Security: every route was swept for its auth gate, admin gate and library access (a title a person cannot see is 404 on add-to-list, and hiding from Continue watching checks library access). wasmtime 49.0.4 fixes RUSTSEC-2026-0378 and RUSTSEC-2026-0379 (critical). tantivy 0.27 pulls lru 0.18.5, which fixes RUSTSEC-2026-0253.
  • Postgres no longer logs ERROR lines for taken usernames, serialisation retries or contended scratch reclaim. The job worker waits for the schema when the database answers late, and leyla-server --version answers and stops.
  • Backups: a set dated ahead of the clock no longer holds the schedule, a stop cuts the rehearsal short, and the verification baseline covers the media facts. leyla-server facts export|import|files read and write the media facts as JSON lines or CSV.
  • Metadata plugins read null fields as absent and skip an unreadable result with its reason; a plain-http artwork address is fetched over https.
  • The Windows server is in the release: an installer with the static ffmpeg, a service, and library folders as Windows paths. Free space is read with the Windows call.
  • Fixes found on the way: a stale episode-numbering question is answerable; a link nothing supports any more is removed without unlinking a right file; a file probed again does not queue its loudness twice; a paused session past the pause timeout is ended and its transcode freed; devices first seen before the rename say leyla-web and leyla-flutter no longer.
  • Removed: the browser-copies endpoints, v1 stream tokens, the artwork placeholder backfill, flat pre-sharding artwork names, the flat cast list (credits are the only cast), the ARR_PLUGIN_REPLACED finding and the older-server fallbacks in both clients.

Playback

  • Planner 0.29.0 to 0.41.0. A link is judged on its bad case: the player and the server both record the link's troughs (the server from windows of 30 s and up, read from the kernel), and the planner schedules delivery from them. A plan carries a schedule with a preroll.
  • A planned rendition: for a ladder whose schedule fits, one rendition is pinned for the whole presentation and the rungs a player comes back to are made ahead. A player with a bank (web, the desktop apps and the Android app) reads ahead to what the bad case needs, holds the original through a short dip and waits for a segment the server has not made yet.
  • Data saver, under Playback choices: Off (always the original), On mobile data, or Always. The Android app reports a metered network from the system; the web client reports one when the browser asks to save data.
  • An adaptive stream that stops arriving for 20 s is started again lower and the viewer is told, on web and Flutter. A rung that does not deliver is named in the server's log with the file it could not read.
  • Memory pressure reclaims paused encoders nobody consumes before one a player reads from, and a rung reclaimed starts again from the segment the player asks for.
  • A simulator replays a session's candidates and chooses the plan; the admin session page shows the candidates and replays them.
  • Edits before encodes: Dolby Vision 7/8 to a screen without it is copied without its enhancement layer, and a Blu-ray PGS track is drawn by the web client itself.
  • Open-GOP copies keep every picture's own time and a ladder over an open-GOP original lines up with nothing stored. A transport stream whose index the engine cannot read is refused for clients without fMP4.
  • Encode helpers: a signed-in desktop registers what its ffmpeg opens, the server self-tests it, and rungs the server cannot make live are made on the helper. A lost helper's rungs are refused and the player steps down instead of stalling. Server, Transcoding, Helpers lists them.
  • Prepared versions are proposed by evidence: a blank budget is 1 % of free space, at most 2 GB.
  • Dialogue boost is a per-device viewer setting, off by default. Sound sync in the player's settings moves the sound earlier or later per device.
  • An audio track chosen on one episode carries to the next episodes. The next episode or film is offered from the credits on and starts by itself.
  • A start playback choice lets a viewer take the original or the planned rendition.

Web

  • Save with a list picker; Like and Dislike as a pair. Home's hero follows the viewer's choice of source and can be turned off, and Home is cut to the hero, Continue watching and For you.
  • Cards have three shapes with fixed rules: the title is under every poster, progress is on the art. A pointer resting on a card previews a few pictures, and Continue watching cards come alive when hovered, focused or in view.
  • Account is in parts (Profile, Home, Playback, Picks, History, Devices, About). Libraries have a place in the navigation, Search groups Films and series, People and Episodes, and a library has letters.
  • Calendar opens on today with the last week under Earlier. Your year in Leyla is a page at /year/{year}. Season chips say how far the viewer is through each season, and empty places are composed.
  • The player lists the keyboard shortcuts with ?, toggles picture in picture with I, leaves with Escape, and turns a phone to landscape in full screen.
  • X-Ray's In scene tab, quality badges, Continue with a provider on the sign-in form, and Settings, Database and Models.
  • A television layout text size starts at Large. A TV's device identity names its system.

Flutter

  • Offline browse and sync: the device keeps the offline catalog in step, and with the server away Home, a library and a title page read from the device's copy.
  • Continue with a provider on the sign-in screen (not on a television). What your devices cannot play, Your year, the Libraries page, the calendar, search by kind and composed empty places match the web client.
  • Leyla's own Android player carries the bank and the planned rendition. The desktop apps answer the web player's shortcuts and read ahead to the bank target.
  • On the desktop, the encode helper follows the sign-in and registers what its ffmpeg opens. AirPlay's route picker is in the player on iOS.
  • Android trusts certificate authorities the user installed.
  • Television: the remote moves along rows and stops at their ends, the player keeps to the title-safe area, Back puts away the up-next card, a card is one stop, and Account, This screen has Text size.
  • Series open on Up next and their seasons. A phone's player turns sideways in full screen, scrubs tick at chapter marks, and double-tap seeks answer with their own +10s.
  • Plans, sessions and catalog pages are parsed strictly. The older-server fallbacks are gone.

Admin

  • Sessions show what the plan does with the picture (direct, copy or transcode); a live session counts as converting only when it transcodes the picture.
  • Home sections are ordered with a list. Job history reads the daily roll-up, and a job that succeeded has no detail link.
  • Remote access shows the request limit. The reach page says that LG and Samsung televisions cannot open a self-signed address.
  • The sign-in providers page checks a provider against the two things a first Authentik setup gets wrong.

Tools and CI

  • Platforms: a Home Assistant integration (HACS) with a media player per TV on the Play on TV list; a Hisense VIDAA shell served at leyla.media/tv/; a Roku channel that is a TV a phone can play on and control; a TV without a WebSocket is a remote over HTTP; the release attaches the Kodi repository.
  • Releases are hosted on leyla.media (bucket leyla-downloads at /dl/) and mirrored after the release; guides are shorter and direct, and /beta explains that you need your own server and films.
  • The Linux packages are smoke-tested per distribution before anything is attached; the static builds carry libvmaf, the Windows ffmpeg and the encode helper's ffmpeg; the image is smaller (no symbol table, English-only OCR).
  • CI: test lanes get 90 minutes, a failed test binary's failures are repeated at the end of its log, the perf lane gates the release again, and budgets were recalibrated on a quiet test server. Dependency updates include Flutter packages.
  • Harnesses for the work above (link, identify, encode, column, scene people and fine-tuning) live under scripts and tools; none runs in a server.