Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add time remaining estimate and minor fixes #56

Merged
merged 10 commits into from May 18, 2014

added missing commandline blocklist parsing for blocklist support

  • Loading branch information
transitive-bullshit committed May 16, 2014
commit 976fd11e8a4653d6806ee5c67025765c87dfdb83
@@ -34,6 +34,7 @@ function usage () {
console.log(' -l, --list list available files in torrent')
console.log(' -n, --no-quit do not quit peerflix on vlc exit')

This comment has been minimized.

Copy link
@feross

feross May 18, 2014

Member

lol, webtorrent

This comment has been minimized.

Copy link
@transitive-bullshit

transitive-bullshit May 18, 2014

Author Member

hahahaha, whoops 👍

console.log(' -r, --remove remove any downloaded files on exit')
console.log(' -b, --blocklist use the specified blocklist')
console.log(' -t, --subtitles load subtitles file')
console.log(' -h, --help display this help message')
console.log(' -q, --quiet silence stdout')
@@ -50,6 +51,7 @@ var list = argv.list || argv.l
var subtitles = argv.subtitles || argv.t
var quiet = argv.quiet || argv.q
var noquit = argv.n || argv['no-quit']
var blocklist = argv.blocklist || argv.b

if (argv.help || argv.h) {
usage()
@@ -81,7 +83,8 @@ if (subtitles) {

var client = new WebTorrent({
list: list,
quiet: true
quiet: true,
blocklist: blocklist
})

var started = Date.now()
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.