Repository navigation
What's Fixed in 0.1.9
javinfo download (dl) — Resilient segment recovery ladder
- Fix MissAV variant/host selection: walks variants in
--max-heightpreference order and triesc.surrit.comthensurrit.comper variant — so partially migrated titles wherec.surrit.com/480preturns404whilesurrit.com/480preturns200select480ponsurrit.cominstead of jumping to720ponc.surrit.com. - Two-pass deferred retry + fallback ladder:
- 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. - Pass 2 retries the primary variant with backoff (
2s,5s,15s) so transient/per-IP403refusals clear while the rest of the film downloads. - Lazily probes each fallback variant playlist once and caches the result (requiring HTTP
200#EXTM3Uand 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. - Bridges any remaining
403/404gaps up to a bounded limit (max 3 consecutive, capped total) and aborts only if the bound is exceeded.
- Pass 1 downloads healthy segments at full speed and defers any failed segment (
- Fix FFmpeg concat truncation on bridged gaps: omits 188-byte
TS_NULL_PACKETgap markers fromconcat.txtsoffmpegremuxes all segments after a bridged gap cleanly instead of stopping early. - New
--segment-fallbackflag & config:any-variant(default),same-variant, ornone(alsodownload.segment_fallbackinconfig.toml). - Expanded
--jsondiagnostics: addsretried_segments,substituted_segments([{ index, from_variant, host }]),bridged_segments({ count, indexes }), andfailed_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 | bashOr from this repo until the domain is wired:
curl -fsSL https://raw.githubusercontent.com/javinfo/cli/main/install.sh | bashManual
- Download the archive for your platform below.
- Extract the
javinfobinary. - 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 --versionVerify downloads against sha256sums.txt.
Full Changelog: v0.1.8...v0.1.9