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

Added test script for multiple file webseed. #397

Closed
wants to merge 111 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
111 commits
Select commit Hold shift + click to select a range
9b0c186
Added test script for multiple file webseed.
solderzzc Aug 9, 2015
e692d34
fixed test script for multiple files torrent.
solderzzc Aug 9, 2015
ecf8eb7
added webseed multiple files for magnet.
solderzzc Aug 9, 2015
041b1c9
style
solderzzc Aug 9, 2015
1c740c3
Switch to work repo to test multiple file download in webseed.
solderzzc Oct 27, 2015
5e65274
Added command line hook scripts(done/exit).
solderzzc Jul 29, 2015
fc459af
Fixed for CI Style check
solderzzc Jul 29, 2015
9985c83
Fixed for CI style check.
solderzzc Jul 29, 2015
7ee909f
Fixed for CI style check.
solderzzc Jul 29, 2015
3a9ea8e
command line cleanup
feross Jul 30, 2015
3eb14c6
0.55.0
feross Jul 30, 2015
d13db63
build
feross Jul 30, 2015
9400482
fix examples
feross Aug 6, 2015
57023a4
fix example
feross Aug 6, 2015
c0e8b3f
fix todo: use random-iterate
feross Aug 10, 2015
8f3c7c3
0.55.1
feross Aug 10, 2015
e4433fe
build
feross Aug 10, 2015
2da893d
add torrent.numPeers
feross Aug 10, 2015
e158844
add torrent.downloadSpeed/uploadSpeed
feross Aug 10, 2015
aeb9ed4
add client/torrent.on('download/upload')
feross Aug 10, 2015
afa1233
cmd: use torrent.timeRemaining
feross Aug 10, 2015
d4e5daf
0.56.0
feross Aug 10, 2015
90fbfd1
build
feross Aug 10, 2015
c8e44d3
Default download destination should be current directory, fixes #390
gillesdemey Aug 11, 2015
55f2307
Use temp folder when streaming to stdout.
gillesdemey Aug 12, 2015
2534f48
update readme
feross Aug 12, 2015
c5c325c
0.57.0
feross Aug 12, 2015
2571fc3
build
feross Aug 12, 2015
c221fa7
adhere to padded-blocks
LinusU Aug 14, 2015
a076dc3
Also test for standard when running test-node
gillesdemey Aug 16, 2015
f48ff31
Revert "Also test for standard when running test-node"
feross Aug 20, 2015
bf180bc
standard@5
feross Aug 20, 2015
db50972
multistream@2
feross Aug 20, 2015
e699999
BREAKING: Use abstract-chunk-store for storage
feross Aug 22, 2015
1d79211
Include web torrent version in http user agent
feross Aug 22, 2015
58cecf2
test: improve server test
feross Aug 22, 2015
92969ae
test: torrent.parsedTorrent is gone
feross Aug 22, 2015
09f49a6
test: don't assume event ordering
feross Aug 22, 2015
7076251
torrent: make torrent.load(streams, [cb]) callback optional
feross Aug 22, 2015
4ca7215
cmd: torrent.parsedTorrent is gone
feross Aug 22, 2015
5808913
remove stray console logs
feross Aug 22, 2015
46ae1d9
pass total torrent length to storage store
feross Aug 22, 2015
93f8f26
torrent: remove dead code
feross Aug 22, 2015
d154034
trigger notify after torrent.load is called
feross Aug 22, 2015
c790288
torrent: start torrent.done as `false`
feross Aug 22, 2015
1fef18b
BREAKING: rename `torrent.storage` to `torrent.store`
feross Aug 22, 2015
32f65b8
update docs: remove opts.verify
feross Aug 22, 2015
0138ed9
remove unecessary nextTicks
feross Aug 22, 2015
8a7f235
file: emit 'done' on zero-length file
feross Aug 22, 2015
72320e5
file: make file.createReadStream work on zero-length file
feross Aug 22, 2015
f50e82f
remove dezalgo dep
feross Aug 22, 2015
c45301b
remove unused deps: mkdirp, once, random-access-file, rimraf
feross Aug 22, 2015
45d0a52
use `chunk-store-stream` (published from 'lib/load-chunk-store')
feross Aug 22, 2015
689b9e4
inquirer@0.9
feross Aug 22, 2015
45891e2
append-to: Support .jpeg (alternative to .jpg)
feross Aug 23, 2015
d594cd9
check for torrent.done, file.done on torrent.load()
feross Aug 23, 2015
86ffa12
0.58.0
feross Aug 23, 2015
5026632
build
feross Aug 23, 2015
df69a16
use "mediasource" package (published from lib/media-stream.js)
feross Aug 23, 2015
158d9f3
add explanatory comment
feross Aug 23, 2015
62624aa
fix regression: progress should be capped at 100%
feross Aug 23, 2015
97bdde4
0.59.0
feross Aug 23, 2015
1fb9c21
build
feross Aug 23, 2015
8b7c264
eliminate extra nextTick for 'metadata' event
feross Aug 23, 2015
e60e734
style
feross Aug 23, 2015
52b35fa
add torrent.received; change torrent.downloaded
feross Aug 23, 2015
9e06797
torrent.load should cancel reservations
feross Aug 23, 2015
c600f62
cmd: use new `torrent.downloaded` property
feross Aug 23, 2015
7b26b84
cmd: remove verbose block data
feross Aug 23, 2015
3d7d78c
verify existing torrent data
feross Aug 23, 2015
306cc84
improve tests to pass when verifying torrent data
feross Aug 23, 2015
4904ff0
Disable DHT and PEX when the torrent is flagged as private
gillesdemey Aug 16, 2015
435d4eb
0.60.0
feross Aug 23, 2015
77538eb
build
feross Aug 23, 2015
7ee36c0
Add torrent.path
Stiveknx Aug 25, 2015
1915ec1
Add torrent.path to README
Stiveknx Aug 25, 2015
a1bbb57
Add torrent.downloaded and torrent.received to README
Stiveknx Aug 25, 2015
13a67e4
expose torrent.path in a clean way (fix #409)
feross Aug 28, 2015
1b02860
0.60.1
feross Aug 28, 2015
934da5a
build
feross Aug 28, 2015
4bca6be
Switching to mafinstosh/chromecasts
gillesdemey Aug 30, 2015
764d8e1
0.61.0
feross Sep 2, 2015
fdc7758
build
feross Sep 2, 2015
ea9ede2
0.62.0
feross Sep 2, 2015
f4b04d0
build
feross Sep 2, 2015
e3c47c5
Clone options when seeding/downloading
gillesdemey Sep 2, 2015
0bfdb75
standard
feross Sep 3, 2015
f028fa3
Always pass 'elem' to 'append-to' callback
valeriangalliat Sep 10, 2015
fb71565
standard
feross Sep 16, 2015
28fb2ef
0.62.1
feross Sep 22, 2015
8005eb8
build
feross Sep 22, 2015
510f43f
Use path.resolve in tests
joseph-onsip Oct 4, 2015
c3a201d
exec/spawn cmd.js with 'node'
joseph-onsip Oct 4, 2015
b8636e2
travis: cache node_modules for faster builds
joseph-onsip Oct 4, 2015
8280ee2
tests use cross-spawn-async instead of child_process.spawn
joseph-onsip Oct 5, 2015
12c6a2a
Accommodate Chrome/FF optional Blob arg difference
yousefamar Oct 5, 2015
aa31d70
0.62.2
feross Oct 5, 2015
dda5c60
build
feross Oct 5, 2015
3fb0155
echo "*.txt text eol=lf" >> .gitattributes
joseph-onsip Oct 7, 2015
b98fa9e
Updated README.md to include events more events
lucaswxp Oct 9, 2015
8d4bdda
"browser" field fix
feross Oct 24, 2015
d2e563e
0.62.3
feross Oct 24, 2015
6a7e4e5
build
feross Oct 24, 2015
8c54959
build
feross Oct 24, 2015
54776ee
Merge https://github.com/feross/webtorrent
solderzzc Oct 27, 2015
c59a74b
Added test script for multiple file webseed.
solderzzc Aug 9, 2015
3326ca3
fixed test script for multiple files torrent.
solderzzc Aug 9, 2015
5ea51ec
added webseed multiple files for magnet.
solderzzc Aug 9, 2015
c331a4b
style
solderzzc Aug 9, 2015
463780d
Switch to work repo to test multiple file download in webseed.
solderzzc Oct 27, 2015
479f74e
Merge branch 'add-test-script-for-multiple-file-webseed' of https://g…
solderzzc Oct 27, 2015
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

fix example

  • Loading branch information
feross authored and solderzzc committed Aug 6, 2015
commit 57023a4acd79a0ab57481b8153024d3dcfc22181
@@ -5,13 +5,11 @@ var magnetUri = '...'

client.add(magnetUri, function (torrent) {
// Got torrent metadata!
console.log('Torrent info hash:', torrent.infoHash)
console.log('Client is downloading:', torrent.infoHash)

// Let's say the first file is a webm (vp8) or mp4 (h264) video...
var file = torrent.files[0]

// Stream the video!
// Specify a container element (CSS selector or reference to DOM node)
file.appendTo('body')
torrent.files.forEach(function (file) {
// Display the file by appending it to the DOM. Supports video, audio, images, and
// more. Specify a container element (CSS selector or reference to DOM node).
file.appendTo('body')
})
})
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.