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

Working commandline downloads and removing unused code #54

Merged
merged 4 commits into from May 14, 2014

Conversation

transitive-bullshit
Copy link
Member

Removed all unused code; some of which now resides in bittorrent-client and some of which was for the http version of the interface and should be readded only once its functional.

Also cleaned up logging (spread across PRs for bittorrent-swarm and bittorrent-client) and got the peerflix-based commandline working. Downloading a single torrent from the commandline now provides a nice chalk-based interface which is handy for telling what's actually going on under the hood.

@transitive-bullshit
Copy link
Member Author

Fixes #28

// TODO
client.on('torrent', function (torrent) {
client.on('error', function (err) {
clivas.line('{red:error} ' + err)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think this should have been err.message

@feross feross merged commit 25c9080 into webtorrent:master May 14, 2014
@feross
Copy link
Member

feross commented May 14, 2014

Thanks for the PR -- I appreciate you helping to push this project forward!

I would have left in the http range server stuff because we should support that asap. But we can just re-add it when it's fully functional. Also, if it's easy for you, set your editor to trim trailing whitespace on save. :)

You should come hang out on IRC. #webtorrent on freenode. We can coordinate easier there.

@transitive-bullshit
Copy link
Member Author

Okay; I setup my env to trim trailing whitespace from now on. Sorry about that.

Will definitely look for you on IRC :)

@lock lock bot locked as resolved and limited conversation to collaborators May 17, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants