Skip to content

neno1978/xbmctorrent

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XBMCtorrent

What it is

XBMCtorrent allows you to stream bittorrent magnet links right from XBMC, without having to wait for the whole file to download, thanks to sequential download (see FAQ).

Demo

http://www.youtube.com/watch?v=NQiC62ig3N0

XBMCtorrent Demo Video

Supported Platforms

  • Windows x32 x64
  • OS X x64
  • Linux x64
  • Raspberry Pi

How it works

XBMCtorrent is actually two parts:

  • XBMCtorrent: the addon written in Python.
  • torrent2http: a custom bittorrent client written in Go and leveraging libtorrent-rasterbar, that turns magnet links into HTTP endpoints, using sequential download.

If you feel adventurous, you can find the torrent2http and libtorrent-go sources at:

Discussions

Two threads are active, on XBMC HUB and XBMC.org.

FAQ

Does it work with all torrents?

It works with most. Some torrents are known not to work. However, x264 and Xvid ones generally work pretty well, although some won't work yet. Some AVI files don't like to be streamed over HTTP, so YMMV. Of course, the goal is to shrink the number of torrents that don't work.

Can I seek in a video?

Yes, although now if you try to seek to a part you haven't downloaded yet, XBMC will wait for that part to be available. This will be fixed in a future release.

Can it stream HD?

Of course! 720p and 1080p work fine, provided you have enough bandwidth, and there are enough people on the torrent (see video).

Why no Android?

Let's just say: not yet. First of all, I don't have an Android device to test it to. Also, it seems to be possible, we'll see how the demand evolves on that front.

Doesn't sequential download on bittorrent is bad?

Generally, yes. However, XBMCtorrent respects the same requirements "defined" by uTorrent 3. Also, XBMCtorrent tries to make it up to the swarm by seeding while you watch the movie.

What about seeding?

XBMCtorrent will seed the file you're watching until it's finished playing. For instance, if the download of a 2 hours long movie is finished in 10 minutes, you'll continue seeding it until you finish watching the movie. This is by design, to make up for the fact that we are using sequential download.

Does it downloads the whole file? Do I need the space? Is it ever deleted?

Yes and yes. XBMCtorrent will pre-allocate the whole file before download. So if you want to watch a 4GB video, you'll need the 4GB. The file is deleted once you stop watching it.

Where is the file located? Can I change it?

Currently the file is download in the same directory as the torrent2http executable (in resources/bin// in the addon directory). You cannot change it yet, but that will be configurable in the near future.

Can I keep the file after playback?

Yes, just enable this option in the addon settings.

Why are you using Google Analytics? Can I disable it?

First of all, your whole IP isn't tracked. Only the first 3 parts of it, thanks to Analytics Anonymous Mode. So for instance, if your IP is A.B.C.D, only A.B.C.0 will be logged. Also, Google Analytics is a great tool to enable real data driven development. I can now concentrate on what really matters. And finally, of course you can disable it altogether in the addon settings.

How can I report a bug?

Please, file an issue :)

githalytics.com alpha

About

Torrent streaming for XBMC

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.9%
  • Other 0.1%