Skip to content

v0.5.2

Choose a tag to compare

@CheerChen CheerChen released this 06 Aug 14:34
· 49 commits to main since this release

换源可靠性

0.5.2 修复了换源后概率性从头(0 秒)重播的问题。

连续 failover 时,handlePlaybackError 原先读取 video.currentTime 作为下一个源的续播点,但此时 video.load() 已把它重置为 0,导致换源链路上第二次失败就丢失原始进度。现在回退到上一次换源设置的 resumeTime,续播位置在整条换源链路中保持一致。

同时绕过服务端的 m3u8 广告过滤代理:所有 /api/ 请求追加 client=orion,让服务端按原生 TV 客户端处理,保留 webOS starfish 在广告拼接点所需的 EXT-X-DISCONTINUITY 标记(对应 DecoTV issue #227)。广告跳过仍由客户端内置的分片扫描器完成。

安装

Homebrew Channel 会自动获取新版本。手动安装:

opkg --add-dest developer:/media/developer install -d developer com.cheerchen.decotv_0.5.2_all.ipk

需要运行 DecoTV 服务端。public 模式可匿名浏览;收藏和播放记录同步需要账号模式。


Source-failover reliability

0.5.2 fixes the probabilistic restart-from-zero after switching sources.

Across a chain of failovers, handlePlaybackError read video.currentTime for the next source's resume point, but video.load() had already reset it to 0 — so a second failure in the chain lost the original position. It now falls back to the resumeTime set by the previous switch, keeping the resume position consistent across the whole failover chain.

It also bypasses the server's m3u8 ad-filter proxy: every /api/ request is tagged client=orion so the server treats it as a native TV client and preserves the EXT-X-DISCONTINUITY markers webOS starfish needs at ad splice points (DecoTV issue #227). Ad skipping is still handled by the client's own segment scanner.

Install

Homebrew Channel picks up the new version automatically. Manual install:

opkg --add-dest developer:/media/developer install -d developer com.cheerchen.decotv_0.5.2_all.ipk

Requires a DecoTV server. public mode supports anonymous browsing; account mode is required to sync favorites and play history.