1 Changelog V1.21.81
Forgejo Actions edited this page 2026-10-14 16:39:26 +00:00
This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

v1.21.81

Date: 2026-10-14

Features

  • Chromecast cast from the Android app (spec 060): a cast button (Material MediaRouteButton) now sits in the media viewer and album top bars. With a Chromecast / Chromecast-built-in device on the same LAN, the phone becomes the remote: swiping to the next photo/video in the viewer immediately casts that item to the TV (Google's Default Media Receiver, app ID CC1AD845 — no custom receiver, no Cast Console account). Photos show as stills on the TV (Default Receiver caps at 1280×720), videos play on the TV with TV audio. Built on the verified Immich sender pattern (PRs #1220, #1221).
  • Album autoplay on Chromecast: "Afspil album på TV" on the album screen starts a slideshow on the TV — photos advance on a configurable interval (default 5 s; picker 2/3/5/8/10 s), videos play to completion before advancing (4 h stall cap as safety). A mini player bar on the album screen offers previous / play-pause / next / stop; a 60 s per-item load timeout skips stuck items so the show goes on. Slideshow is foreground-scoped in this version (leaving the album screen stops it) — ISSUE-158.
  • API: short-lived signed media tokens for cast (POST /api/media/token, spec 060 T001-T004). The Chromecast fetches media itself and cannot send the phone's session cookie, so media byte endpoints (/api/media/{id}/original, /api/media/{id}/derived/{type}) now additionally accept a stateless HMAC-SHA256 token via ?st=<token> — bound to one media item + rendition, default TTL 15 min (configurable via MEMORIES_MEDIA_TOKEN_TTL), minted per LOAD by the app with the standard session/bearer auth (media:read). Existing cookie/bearer auth is unchanged and wins when both are present; the mint endpoint re-checks item visibility to prevent capability forgery.

Notes

  • Operator/ deployment requirements for cast: the Chromecast must reach the Memories API URL on the LAN and trust its TLS certificate (self-signed certs are not supported by Chromecast); see docs/operator/cast-requirements.md. Discovery is LAN-only.
  • Cast in this release is Android-only; a web sender and a full-resolution Custom Receiver are documented follow-ups (spec 060 out-of-scope). On-hardware Chromecast verification matrix (swipe-sync, autoplay, token self-heal, screen-off session behavior) is tracked as ISSUE-158 and T021 in spec 060.
  • Design doc: docs/superpowers/specs/2026-10-14-android-cast-chromecast-design.md; spec: specs/060-android-cast-to-chromecast/ (PR #1222).
  • Release: version bump 1.21.80 → 1.21.81 (PR branch, gradle.properties).