Repository navigation
AltMount v0.4.0 brings background PAR2 repair, a substantially expanded Stremio addon, native Sonarr v5 support, and improvements to streaming latency, imports, and library safety. This release includes 170 commits since v0.3.2.
Highlights
- Background PAR2 repair: reconstruct missing Usenet articles from a release's recovery data and keep repaired bytes locally across restarts. Includes optional repair during import, damaged archive recovery, live progress, and clearer failure reasons. #829
- Expanded Stremio addon: native multi-indexer Newznab search, TRaSH scoring, configurable stream display, local-library streams, cached-release detection, and a live search inspector. #827, #828, #839, #1024
- Sonarr v5 support: automatic API selection per instance, an explicit compatibility selector, and more resilient season-pack replacement and repair. #1033, #1037
- More import sources: poll indexer cart RSS feeds, follow directly posted NZB/NZB.gz payloads, and resolve NZBs inside RAR/ZIP wrappers. Multiple nested NZBs become independent import jobs. #1004, #974, #1050
Streaming and performance
- Progressive article delivery, shared downloads across readers, speculative read-ahead budgets, and hedged fetches reduce waits during playback and seeks.
- An in-memory decoded-article cache complements the optional disk cache; disk-cache expiry can be set to zero to retain entries indefinitely.
- Warm provider connections, TLS session resumption, adaptive STAT concurrency, and configurable connection reservations help imports and health checks share capacity with active streams.
- Faster archive header scans and import probes avoid unnecessary work on damaged or unavailable releases.
- PAR2 repair uses continuous cross-file prefetch, batched slice folding, and reusable workers, and stops parsing recovery data once enough is available.
- FUSE reads now handle cancellation, deadlines, reordered reads, and file-handle lifetimes more reliably. Stalled encrypted archive reads can be interrupted.
- Fixes cover HTTP range handling, truncated/encrypted final articles, transient article misses, segment-cache eviction, and excessive garbage collection under memory pressure.
Imports, metadata, and health
- Optional media-content verification during imports and health checks, with verification outcomes and live article-check progress in the UI.
- A manual storage migration converts legacy inline-segment metadata to the v3 shared compressed NZB store, with a dry run and progress reporting.
- Metadata backups include the persistent NZB store. Store lifetimes, corrupted-metadata retention, timestamps, and path normalization are more reliable.
- Broader archive and obfuscated-release support, improved password handling, recovery past unavailable first articles, and preservation of verified filenames and media extensions.
- PAR2 fixes preserve recovery-set file ordering, repair segments absent from the NZB, restore healthy files when no repair is needed, and retain degraded files after a failed repair.
- Library audits find orphaned files and dead symlinks. Library sync respects mount boundaries and preserves library paths; transient provider failures no longer count as confirmed missing articles.
- More reliable import history, retries, queue filtering, indexer tracking, and persisted skip flags.
- A generic duplicate-lookup API supports finding reusable existing content. #1027
Stremio and integrations
- Prefer cached streams without repeating indexer searches; retain a local-library fallback and recover expired play links.
- Stronger release matching prevents unrelated movies or episodes from being reused. Play caches and duplicate suppression use release URLs rather than titles.
- Improved season-pack episode selection, release parsing, stream ranking, and failed-release fallback.
- More compatible capability-driven Newznab queries, including fallback when strict indexers reject optional parameters.
- SABnzbd history pagination and failed-job visibility are more reliable; extension-like directory names are preserved.
- Rclone recovery waits for sustained failures, supports a configurable restart tolerance, and includes fixes for VFS invalidation and cache-read deadlocks.
Safety and security
- Guard recursive category deletion, prevent mount reentry during cleanup, and avoid deleting sibling imports during archive rollback.
- Restrict ARR auto-registration URLs, bind credentials to their intended origins, and harden download redirects and database lookups.
- Redact API keys, download keys, and ARR webhook credentials from logs.
- Apply the configured network proxy and global User-Agent to URL-based NZB downloads.
Upgrade notes
- Container images now use
ghcr.io/kipsilabs/altmount. Update deployments that still reference the previous repository namespace. Pinghcr.io/kipsilabs/altmount:v0.4.0for this release. - Back up your configuration, database, metadata, and persistent NZB store before upgrading. Storage Migration is optional and manually started; its metadata rewrite is one-way. Run its dry run first and retain a pre-migration backup if you need to roll back.
- The memory article cache defaults to 256 MB, even when the disk cache is disabled. Set
segment_cache.memory_mb: 0to disable it. Reviewmemory_limit_mband container memory limits for constrained deployments. health.max_connections_for_health_checksis renamed tohealth.max_concurrent_segment_checks; existing values migrate automatically.- Review the new global
user_agentsetting and startup warnings for obsolete configuration keys. - Sonarr instances default to automatic API detection. Use an instance URL without an
/api/v3or/api/v5suffix; selectv3orv5only when explicitly needed. - Recursive mount deletions default to 50 distinct release folders per category in a rolling 10-minute window. Refused deletions return HTTP 403; see
sabnzbd.delete_guard_max_foldersandsabnzbd.delete_guard_window_minutesfor configuration. - PAR2 repair is limited by available recovery data and configured caps. Import-time repair is opt-in and can require downloading the full recovery set.
Full changelog: v0.3.2...v0.4.0