Laev.Torbox (laev v0.1.40)

Copy Markdown View Source

TorBox API client — the second debrid provider.

Same contract as RD.resolve_magnet/2: magnet in, playable HTTPS URL out. Flow: checkcached (by hash, instant) → createtorrent (instant for cached) → pick the video file → requestdl (CDN link). Uncached torrents fail fast with {:not_cached, ...} — laev's probe philosophy is verified-playable only, and TorBox cloud-downloading belongs to an explicit flow, not a probe.

Summary

Functions

Remove a torrent from the TorBox account (cleanup for failed probes).

Magnet in, playable URL out. {:ok, stream} or {:error, reason}.

Functions

configured?()

delete_torrent(torrent_id)

Remove a torrent from the TorBox account (cleanup for failed probes).

resolve_magnet(magnet, opts \\ [])

Magnet in, playable URL out. {:ok, stream} or {:error, reason}.