Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upPick the video file to stream by index #150
Closed
Labels
Comments
This comment has been minimized.
This comment has been minimized.
|
This feature is available in webtorrent v0.9.0. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
By default the
webtorrentcommand line program will stream the largest file in a torrent with multiple files. The assumption was that the largest file is probably what the user wants to watch. But this is not always the case.You can use the
--listflag to get a list of files in the torrent. It makes sense to be able to stream just a single file. Let's add an--indexoption that lets you pick the file to stream.