mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-01 10:22:25 +00:00
The edit-modal external-URL webseed was ws=-only because the Edit modal had no storage credentials wired in. Reuse mediaUploader.resolveActiveConnection() (the same resolver the Edit modal's file-replace uploads use) to get the active provider + credentials when storage is unlocked, and pass them to deriveTorrentForExternalUrl so it hosts the tiny .torrent and emits ws=+xs= — full P2P bootstrap, matching the upload modal. Storage locked / no connection → ws=-only (unchanged, best-effort). Edit-modal submit-state + upload-field + external-url-torrent suites green. Lint + build green. Co-Authored-By: Claude Opus 4.8 <[email protected]>