Repository navigation
Offline Downloads and Queue
Falsis edited this page Nov 24, 2026
·
1 revision
Vessel includes a full-featured Rust offline download engine (vessel-downloader) paired with a 4-level hierarchical offline library in DownloadsView.
-
Direct Transfers (MP4 / MKV / WebM): Probes upstream
Accept-Ranges: bytes+Content-Lengthsupport and splits large files into concurrent HTTPRangeworkers with atomic chunk assembly and resume support. Falls back cleanly to streaming transfer whenRangeisn't supported. -
HLS Streams (
.m3u8) with 8-Worker Parallelism:- Parses variant & master playlists automatically.
- Downloads video segments concurrently across 8 parallel Tokio workers and decrypts
AES-128encrypted#EXT-X-KEYsegments locally. - Automatically downloads and bundles alternate
EXT-X-MEDIAaudio tracks and HLS subtitle playlists into the local offline.m3u8directory.
-
External Subtitle Bundling: When initiating a download, associated external
.srt/.vtt/.ass/.ssasubtitle tracks are downloaded concurrently alongside the video and registered in SQLite (localSubtitles). - Custom Download Directory: Configure where offline files live under Settings → Download Location.
-
Cooperative Instant Cancellation (
tokio::select! { biased; ... }+join_set.abort_all()): Pausing or deleting an active download immediately aborts all in-flight HTTP chunk/segment requests instead of waiting for slow sockets to drain, emits an authoritativeDownloadStatus::Pausedsnapshot, removes partial folders on delete (with transient OS-lock retry), and immediately dispatches the next queued job. -
Drag-and-Drop Queue Ordering: Inside Download Queue, grab any queued, active, paused, or failed item's drag handle to reorder download priority (
queueOrderpersisted in SQLite). -
Single-Click Pause / Resume / Delete: Protected by optimistic UI snapshot updates and per-item action locks (
busyIds).
Downloaded content is organized automatically into a collapsible multi-level tree inside Downloads:
-
For Series & Anime (4 Levels):
- Level 1 — Content (Show): Title, total seasons/episodes/streams, aggregated downloaded size, active transfer badge, and Watched checkmark if all downloaded episodes are completed.
-
Level 2 — Season: Expand a show to see downloaded seasons (
Season 1,Season 2, etc.), episode & stream counts, season size, and season completion status. - Level 3 — Episode: Expand a season to see individual downloaded episodes with watch progress bar underneath and green Watched badge when finished.
-
Level 4 — Downloaded Streams: Expand an episode to see every downloaded source separately labeled by its
streamLabel(e.g.1080p • Server Avs720p • Backup). If two streams were downloaded for the same episode, both appear grouped cleanly under that episode! Clicking a stream launches offline playback immediately viahttp://127.0.0.1:<port>/local/....
-
For Movies (Direct 2-Level Grouping):
- Movies expand directly from Content (Movie) → Downloaded Streams (
streamLabel), without redundant season/episode folders.
- Movies expand directly from Content (Movie) → Downloaded Streams (
-
Offline Continue Watching Rail: Top section of Downloads surfaces unfinished offline downloads with remaining time, progress bars, and one-click resume directly from local storage—fully functional without an internet connection!
- 🏠 Home (English)
- 📦 Installation & Setup
- 🖥️ Desktop App User Guide
- 🎬 Player & Skip Segments
- ⬇️ Offline Downloads & Queue
- 📺 Live TV, IPTV & EPG
- 🧠 Metadata & Episode Sync
- 🧩 Extensions & Repositories
- 🛠️ Plugin Development SDK
- 🏗️ Architecture & Crates
- 🎨 Themes, i18n & Privacy
- 🏠 Ana Sayfa (Türkçe)
- 📦 Kurulum ve Derleme
- 🖥️ Masaüstü Kullanım Rehberi
- 🎬 Oynatıcı, Skip & İndirmeler
- 🧩 Eklentiler, IPTV & Geliştirme