Skip to content

v0.3.0

Latest

Choose a tag to compare

@github-actions github-actions released this 27 Nov 08:28

Important

Upgrade Notice / 升级提示

Starting with v0.3.0, the Android package ID (applicationId) has been migrated from io.leancast to app.solocraft.leancast to align with solocraft.app. Please uninstall the previous version before installing v0.3.0 to avoid duplicate LeanCast apps or SSDP/port conflicts.

从 v0.3.0 开始,Android 包名(applicationId)已由 io.leancast 迁移至 app.solocraft.leancast。安装新版前请先手动卸载旧版 LeanCast,以免设备上同时存在两个应用导致端口或发现列表冲突。

What's New

10-Foot TV UI & Vector OSD Redesign

  • Redesigned TV Dashboard: compact brand header with version badge, single-line LAN endpoint + capability bar, clean standby state (no stale title after stopping), playback failure diagnostic banner (HTTP 403 / NETWORK / CODEC), scrollable right column with calm pill hierarchy, and an auto-focused Resume Fullscreen card with a live mini progress bar.
  • Dark TV Rename Modal: replaces the system dialog with a dark TV modal featuring 4 D-pad quick presets (Living Room TV / Bedroom TV / Studio Projector / LeanCast) and live SSDP re-announcement without interrupting playback.
  • Monochrome Vector OSD: replaces system color emojis with 7 crisp monochrome vector icons, keeps the center frame & subtitles completely unobstructed while paused, adds persistent non-1.0x speed and mute badges plus a living-room wall clock (HH:mm), strengthens bottom scrim readability, and adds a dual-layer buffered progress bar with glowing thumb and keycap legend.

Boot, Protocol & Reliability Hardening

  • Boot & Background Launch: dynamically rebinds SSDP multicast when LAN IP comes up after boot, surfaces PlayerActivity cleanly from background/custom TV launchers, prefers physical multicast LAN interfaces over VPN/virtual adapters, and avoids redundant relaunches when already visible.
  • Concurrency & Player Safety: synchronized CastSession with media generation tokens to ignore stale async ExoPlayer callbacks on rapid source switches, immediate cache reset on source change, and leak-free poller teardown.
  • UPnP / GENA / HTTP Compliance: off-main-thread SSDP operations and ssdp:byebye announcements, strict per-subscriber FIFO GENA delivery dispatched after SUBSCRIBE 200 OK, callback validation & capacity caps, SetMute / GetMute device audio integration, UPnP speed & GetMediaInfo metadata sync, Expect: 100-continue & 413 handling, single-pass SOAP parsing, Locale.US time formatting, and allowBackup="false".

更新亮点(简体中文)

电视界面与纯矢量 OSD 全面重构

  • 新版主界面:紧凑品牌栏与版本号徽章、单行监听地址与能力栏、空闲待命不再残留上次片名、播放失败时展示明确错误诊断提示(如 HTTP 403 / NETWORK / CODEC);右栏支持滚动且视觉降噪,后台播放时「返回全屏播放」卡片自动置顶聚焦并展示迷你进度条。
  • 深色 TV 重命名弹窗:替代原生白框弹窗,内置 4 个遥控器快捷预设(客厅电视 / 卧室电视 / 书房投影 / LeanCast),改名后通过 SSDP 即时重通告,不中断当前播放。
  • 纯矢量无遮挡 OSD:全部系统彩色 Emoji 替换为 7 个纯色矢量图标;暂停时画面正中完全无遮挡(改由顶栏徽章与底栏状态图标提示);顶栏常驻非 1.0x 倍速、静音徽章与客厅时钟;底栏加固对比度,新增双层缓冲进度条、高亮游标与键帽图例。

开机自启、协议与稳定性加固

  • 开机与后台拉起:开机后监听 LAN IP 就绪自动重绑 SSDP,支持从桌面/第三方 Launcher 后台稳定拉起全屏播放页,优先选择物理局域网网卡。
  • 并发与切源防护:CastSession 全状态线程安全 + 媒体代际号防旧视频回调串音,切源立即清空缓存,服务停止彻底清理轮询。
  • UPnP / GENA / HTTP 协议完善:SSDP 收发与 ssdp:byebye 全面移出主线程;GENA 初始通知严格晚于 SUBSCRIBE 200 OK 并按订阅者 FIFO 保序投递;补全 SetMute/GetMute 静音控制、UPnP 倍速与 GetMediaInfo 元数据同步、支持 Expect: 100-continue 与超大请求体 413 保护、单遍 SOAP 解析、Locale.US 格式化,并关闭 allowBackup 防止多机 UDN 冲突。

Full Changelog: v0.2.7...v0.3.0