• v0.4.15
    Some checks failed
    build / build (push) Has been cancelled
    Stable

    claude-bot released this 2026-05-16 20:01:41 +09:00 | 16 commits to main since this release

    v0.4.15 — split per-video vs total cache cap

    • max_preload_mb is now strictly the per-video download cap. Default raised from 750 → 2048 MB so a single 4K short clip can preload without hitting the wall.
    • New max_cache_mb knob caps the total client-side cache directory size. Default 750 MB, sized for ~50 short FHD clips (5 Mbps × 20 s ≈ 12.5 MB each). Enforced cooperatively at the start of each /videoPreload download and during the read loop, so late-arriving bytes can't blow past the cap.
    • VideoPlayerConfig.load() now detects missing keys (max_preload_mb, max_cache_mb, render_distance_blocks) in config/video_player.json and rewrites the file once with defaults filled in. Existing servers pick up new options automatically — no need to delete the file.
    • CachePolicyPayload now carries (maxPerVideoBytes, maxCacheBytes, renderDistanceBlocks). Client chat errors distinguish "단일 영상 NMB 초과" vs "전체 캐시 NMB 초과".
    • dist/ added to .gitignore (release artifacts attach to Gitea releases, never committed).

    Install

    Same as v0.4.14. Pick the jar matching your client's OS/arch; the vanilla video_player-0.4.15.jar requires JavaCV on the user-supplied classpath.

    Downloads