Coder Social home page Coder Social logo

iq-scm / xbmctorrent Goto Github PK

View Code? Open in Web Editor NEW

This project forked from steeve/xbmctorrent

0.0 0.0 0.0 3.17 MB

Torrent streaming for XBMC - This project has been replaced by Pulsar

Home Page: https://github.com/steeve/plugin.video.pulsar

License: GNU General Public License v3.0

Python 99.90% Makefile 0.10%

xbmctorrent's Introduction

This project is not developed anymore and has been replaced by Pulsar.

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

Download

Check out the Releases tab to download the ZIP file.

Follow XBMCtorrent

Follow on Facebook Follow on Twitter

Supported Platforms

  • Windows x32 x64
  • OS X x32 and x64
  • Linux x32 and x64
  • Raspberry Pi
  • Android 4.0+

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

I can't code. How can I help?

Spread the word. Talk about it with your friends, show them, make videos, tutorials. Talk about it on social networks, blogs etc...

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.

The plugin doesn't work at all, what can I do?

First of all, we need to make sure it's not the torrent fault. I usually test this by searching for small serie episodes on Piratebay. Try that, if it does't work, send me your xbmc.log.

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).

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.

Can I set it to download directly to my NAS and keep it after playback?

Yes of course. Just set the download directly to your NAS location, and make sure you have enabled "Keep files after playback" option.

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. Second, this is my only tool to track audience interest, this is great information, and it really helps. Finally if you really want to, you can disable it in the addon settings (except for 1 GA event when you go in the addon). If you are blocking GA on your computer altogether, you'll still be able to use the addon.

How can I report a bug?

Please, file an issue :)

Torrents are suddenly paused and then interrupted/stopped. What can I do ?

Probably your network is too slow and you are hitting a timeout used for HTTP on XBMC. You can increase the timeout as documented here. Please note that increasing the timeout won't make your network faster, you just will wait more time before the torrent is interrupted.

How can I use the Play-to-XBMC feature?

First of all, install Play-to-XBMC from khloke. Then, follow the Play-to-XBMC install instructions:

Setup:

  • On XBMC, go under System > Settings > Services > Webserver
  • Enable "Allow control of XBMC via HTTP, leave the port as default or set it to something else (if you know what you're doing). Write down the port number.
  • Username and password are optional
  • Right click on the 'Play to XBMC' icon and select 'Options'
  • Put in the IP address or hostname of your XBMC box and fill in the port number with the port number you wrote down earlier. Fill in the username and password if you entered one into XBMC.

Once you've done all that, simply right click on any magnet link, and select Play-to-XBMC > Play. Boom.

Provider X is blocked in my country/ISP, how can I set another domain?

Enable Auto-Unblock in the settings. If it still doesn't work, you can go in Advanced > Custom Domains. Here to you can set each provider with whatever proxy you choose.

Changelog

Check out the Releases tab.

githalytics.com alpha

xbmctorrent's People

Contributors

jaysonsantos avatar julien-duponchelle avatar nekwebdev avatar rata avatar steeve avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.