handleStreamTask now serves a mode=stream task FROM a resolved debrid HTTPS link (when the web set preferredMethod=debrid + the torrent is cached) instead of joining the P2P swarm — served over the SAME /stream endpoint so VLC and other external players consume it identically (and far faster). No HLS transcode: external players handle any container. Falls through to the P2P StreamEngine when there is no direct URL. Uses the mutex-safe SetStreamURL setter. Also widen the debrid HEAD size-probe timeout 10s -> 15s to match the transport's TLS handshake budget, so a slow CDN no longer trips it and falls back to a guessed size. Bump 1.0.2-beta.
4 lines
121 B
Go
4 lines
121 B
Go
package cmd
|
|
|
|
// Version is the CLI version. Overridden by goreleaser ldflags at release time.
|
|
var Version = "1.0.2-beta"
|