TIVILUX NATIVE v0.4.0 — TURBO / STABILITY / PLAYBACK ENGINE ============================================================ Release goal: make every remote press, guide movement and playback transition feel immediate while keeping large Xtream playlists stable on lower-power TV hardware. PERFORMANCE CORE - New segmented v3 local cache. Repeat launches only deserialize the lightweight Live TV segment before Home appears; EPG, Movies and Series hydrate in parallel after Home is already interactive. - Existing v0.3.x cache automatically migrates to the segmented format after the first v0.4.0 launch. - Provider refresh remains staggered so large deployments do not refresh at one instant. - Artwork now uses a process-wide Coil memory + 256 MB disk cache with crossfade disabled. - HTTP keep-alive connection pool increased for repeated Xtream/API requests. - Large background XMLTV indexing yields CPU time periodically to protect video/UI frames. - Full XMLTV indexing is delayed 12 seconds after first uncached startup so the viewer's first interaction is not competing with a huge guide parse. TV GUIDE - EPG loading is now viewport-aware: only visible rows plus a small look-ahead window are requested after fast D-pad movement settles. - Background short-EPG concurrency reduced to 4 to avoid request storms on TV boxes. - Full guide application is chunked in small batches with frame yields rather than writing thousands of Compose state entries in one main-thread burst. - Channel sort results are remembered instead of re-sorting the entire group every frame. PLAYBACK ENGINE - New Turbo performance profile is the default for existing Normal/Small users. - Turbo live startup target: 150 ms playback buffer / 400 ms rebuffer threshold with an 8-second safety buffer ceiling. - Balanced and Resilient profiles remain available for weaker networks. - Media3 decoder fallback enabled so a broken hardware decoder can fall back instead of killing playback/app flow. - Dedicated Media3 HTTP data source with 6s connect and 12s read failure windows so dead feeds fail quickly instead of leaving the UI frozen. - Shared Live TV ExoPlayer + TextureView handoff remains intact for guide/fullscreen. - Transient player/network failures get up to two automatic recovery attempts. STABILITY - Heavy EPG state changes no longer land in a single UI-frame burst. - Background cache hydration and provider refresh are isolated from first interaction. - No working v0.3.1 features, Sports Hub, updater, remote controls or VOD detail flows were intentionally removed. VERSION - versionName: 0.4.0 - versionCode: 16