Commit Graph
3 Commits
Author SHA1 Message Date
thePR0M3TH3AN 7b50110f2a Add direct-first download modes and resilience controls 2026-04-01 20:36:35 -04:00
thePR0M3TH3AN d570f4af60 Implement direct download mode from Odysee CDN
New features:
- Added direct_downloader.py module for downloading from Odysee CDN
- Added --direct/-d CLI flag to use CDN instead of P2P
- Direct mode bypasses P2P network availability issues
- Still requires daemon for channel/claim metadata resolution
- Both modes use same file structure and metadata format

Usage:
  lbry-downloader --direct    # Download from Odysee CDN
  lbry-downloader             # Use P2P (default)

The CDN mode is more reliable when P2P peers are unavailable.
Downloads work immediately without waiting for peer discovery.

Fixes #1 - Downloads now complete successfully via CDN.
2026-03-15 22:06:48 -04:00
thePR0M3TH3AN e707400ffd Complete LBRY Downloader implementation v1.0.0
Features:
- Incremental sync with version tracking (sd_hash)
- Per-channel download paths
- Download limit (default: 10 most recent per channel)
- Interactive setup script with user prompts
- Uninstall script for clean removal
- Comprehensive test suite (42 tests)
- Full documentation suite

Files:
- 9 Python core modules (main, models, utils, config, client, state, planner, downloader, init)
- 3 Setup scripts (setup.py, uninstall.py, install.sh)
- 5 Test files (42 tests, all passing)
- 9 Documentation files
- 4 Build/config files

Total: 31 files, ~4,500 lines
2026-03-15 18:10:56 -04:00