github superuser404notfound/Sodalite v0.3.1-beta
v0.3.1-beta — Smart Streaming-Provider Filter + Catalog Discover

latest releases: 1.1.0, 1.0.0, 0.13.0...
pre-release6 months ago

38 commits since 0.3.0. Major theme: the catalog tab grew up, and the home page learned how to actually answer "which of my library items are on Netflix / Disney+ / Apple TV+ right now?".

🆕 Smart streaming-provider filter

Tap any provider tile on the home page (Netflix, Disney+, Prime Video, Apple TV+, Hulu, HBO/Max, Discovery+, Paramount+, Peacock) and the grid now shows the items in your local Jellyfin library that are currently streaming on that service in your region.

  • Two-phase resolve: instant studio-name match, then a TMDB watch-provider augment that surfaces titles whose Studios tag in Jellyfin doesn't betray the streamer (Modern Family on Disney+, Bluey via Ludo Studio, Suits on Netflix, etc.).
  • Region-aware via Locale.current.region — DE users see what actually streams in DE.
  • Auto-precompute on home appearance: empty tiles drop out automatically without requiring a tap first; tiles re-appear once matching content shows up.
  • Persistent cache with stale-while-revalidate — subsequent taps render instantly while a fresh fetch refreshes underneath.

🎯 Catalog tab — full discover surface

The catalog now mirrors Jellyseerr's web discover page:

  • Trending / Upcoming Movies / Upcoming Shows / Popular Movies / Popular Shows rows
  • Genre sliders with backdrops (movie + TV)
  • Streaming Networks + Movie Studios rows (Netflix, Disney+, Pixar, Marvel, A24, …) — tap drills into a paginated grid
  • For streamers, the catalog tile uses TMDB's watch-providers endpoint so Disney+ shows movies and TV (was TV-only before)
  • Series detail gets a per-season episode strip with read-only preview cards (still, episode #, title, runtime); season tabs differentiate Available / Downloading / Pending Approval with distinct icons + colors

📋 My Requests

  • Now scrollable + tap-navigable on tvOS (was non-focusable, no scroll)
  • Single "effective" status badge replaces the dual badge — collapses request.status × media.status into one readable case
  • New Removed state for completed requests whose media has since been deleted from the server

▶️ Player

  • Skip Intro click no longer accidentally opens the transport overlay (touchpad pre-click pan was triggering scrub mode)
  • Scrub idle auto-cancels the scrub (5 s) — playback resumes from the position before scrubbing started
  • Series-detail episode focus reliably restores after returning from the player; fast season → episode navigation no longer needs two clicks
  • Subtitle language picker "Off" → "Auto" (matches audio dropdown semantics)

⚡ Performance

  • Image cache budgets by decoded byte size (~150 MB cap) instead of unlimited count
  • Off-main UIImage decoding — smoother scrolling in dense grids
  • Home page rows load in parallel (was serial, ~7× faster on 7-row configs)
  • Catalog series detail: tvDetail + service config in parallel; per-season episodes fetched lazily on tab focus
  • Dead getLibraries call removed from home refresh
  • Several catalog files split / refactored for clarity

🎨 Polish

  • Genre, provider, network, studio tiles all 320×180 with consistent 24pt spacing + 16pt corner radius
  • Focus stroke (tint outline) consistent across every focusable card type
  • Filter grids hide the tab bar
  • Catalog filter grid + home smart filter no longer flicker an empty state on entry — cache hydrates synchronously

⚙️ Settings

  • TMDB attribution in the About footer (required by their API terms; localised in 26 languages)

🔧 AetherEngine (engine package)

  • Atmos audio buffer gains a hard cap to prevent unbounded heap growth on AVPlayer stalls
  • O(1) atmos buffer front-removal via PacketDeque (was O(n) Array.removeFirst())
  • Zero-copy Atmos audio packet hand-off via av_packet_clone + Data(bytesNoCopy:)
  • AetherEngine.swift split into 3 files (core + Audio + AtmosDrains)

Don't miss a new Sodalite release

NewReleases is sending notifications on new releases.