~jderose/dmedia/s3-upload-download

Viewing all changes in revision 155.

  • Committer: Jason Gerard DeRose
  • Date: 2011-02-12 05:54:34 UTC
  • mfrom: (154.1.14 bittorrent)
  • Revision ID: jderose@novacut.com-20110212055434-ab85std003vdak1d
BitTorrent downloader

 * Adds FileStore.finalize_transfer() to capture an important pattern some
   downloaders will need (in particular the bittorrent downloader)

 * Adds basic but working dmedia.downloader.TorrentDownloader that uses
   python-libtorrent... this is what the bug is all about

 * Adds test-torrent.py script which will download a 44MB video file.

You run the test script like this:

$ ./test-torrent.py

It will create a FileStore in ~/.dmedia_test/, and will download this torrent:

http://novacut.s3.amazonaws.com/37GDNHANX7RCBMBGTYLSIK7TMTUQSKDS.mov?torrent

The test-torrent.py script will be removed in the near future.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: