• Home
  • What's Tribler
  • Download
  • FAQ
  • Forum
Tribler
  • Developers Center

  • Getting Started
  • Introduction
  • Development Process
  • Releasing Process
  • Tips & Tricks
  • Architecture
  • Overview
  • Local Storage Structure
  • API
  • Tribler Core
  • Rationale
  • Tutorials
  • Overview
  • 1. Download Hello world!
  • 2. Video on Demand
  • 3. Live Streaming
  • 4. Seeding
  • Tools
  • Source browser
  • Roadmap
  • Timeline
  • Report a bug
  • Reported bugs
  • Gantt Chart
  • Forum

Wiki Navigation


Seeding

Example: Seeding a file using the internal tracker

s = Session().get_instance()
tdef = TorrentDef()
tdef.add_content('/tmp/HelloWorld.wmv')
tdef.set_tracker(s.get_internal_tracker_url())
tdef.finalize()
 
dscfg = DownloadStartupConfig()
dscfg.set_dest_dir('/tmp')
d = s.start_download(tdef,dscfg)

In the first part a new torrent is created containing your home brew video file using your own internal tracker. The second part starts the downloading/seeding protocol as usual.

  • News
  • Developers
  • Business
  • Research
  • Jobs
  • About Us
  • Press
  • Contact
Login