Skip to content

javinfo 0.1.9

Latest

Choose a tag to compare

@github-actions github-actions released this 27 Nov 21:32

What's Fixed in 0.1.9

javinfo download (dl) — Resilient segment recovery ladder

  • Fix MissAV variant/host selection: walks variants in --max-height preference order and tries c.surrit.com then surrit.com per variant — so partially migrated titles where c.surrit.com/480p returns 404 while surrit.com/480p returns 200 select 480p on surrit.com instead of jumping to 720p on c.surrit.com.
  • Two-pass deferred retry + fallback ladder:
    1. Pass 1 downloads healthy segments at full speed and defers any failed segment (403, 404, 5xx, timeout) to the end of the run instead of aborting the whole title.
    2. Pass 2 retries the primary variant with backoff (2s, 5s, 15s) so transient/per-IP 403 refusals clear while the rest of the film downloads.
    3. Lazily probes each fallback variant playlist once and caches the result (requiring HTTP 200 #EXTM3U and identical segment count): same variant on sibling host (surrit.com ↔ c.surrit.com) first, then other variants on the primary host nearest height preferring higher (480 → 720 → 1080 → 360), then other variants on the sibling host.
    4. Bridges any remaining 403/404 gaps up to a bounded limit (max 3 consecutive, capped total) and aborts only if the bound is exceeded.
  • Fix FFmpeg concat truncation on bridged gaps: omits 188-byte TS_NULL_PACKET gap markers from concat.txt so ffmpeg remuxes all segments after a bridged gap cleanly instead of stopping early.
  • New --segment-fallback flag & config: any-variant (default), same-variant, or none (also download.segment_fallback in config.toml).
  • Expanded --json diagnostics: adds retried_segments, substituted_segments ([{ index, from_variant, host }]), bridged_segments ({ count, indexes }), and failed_segments.
  • Test hook: JAVINFO_TEST_FAIL_SEG=<idx[,idx2...]> forces primary-variant failure on the given segment index(es) to exercise the recovery ladder.

Install (recommended)

curl -fsSL https://javinfo.dev/install.sh | bash
# pin: VERSION=0.1.9 curl -fsSL https://javinfo.dev/install.sh | bash

Or from this repo until the domain is wired:

curl -fsSL https://raw.githubusercontent.com/javinfo/cli/main/install.sh | bash

Manual

  1. Download the archive for your platform below.
  2. Extract the javinfo binary.
  3. Move it onto your PATH (e.g. ~/.local/bin).
# Linux x86_64 example
mkdir -p ~/.local/bin
curl -fsSL \
  "https://github.com/javinfo/cli/releases/download/v0.1.9/javinfo-0.1.9-x86_64-unknown-linux-gnu.tar.gz" \
  | tar -xz -C ~/.local/bin
chmod +x ~/.local/bin/javinfo
javinfo --version

Verify downloads against sha256sums.txt.

Full Changelog: v0.1.8...v0.1.9