Release - XBMCtorrent v0.6.4: torrent streaming for XBMC

  Thread Rating:
  • 16 Votes - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
steeve Offline
Senior Member
Posts: 118
Joined: Oct 2013
Reputation: 7
Video  XBMCtorrent v0.6.4: torrent streaming for XBMC
Post: #1
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).


Download
plugin.video.xbmctorrent-0.6.4.zip (30 MB)


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




[Image: peN2yTq.jpg]
[Image: bQbEeFQ.jpg]
[Image: q3Hi2zg.jpg]

Follow XBMCtorrent
[Image: B5hiGN4.png][Image: rwqPqe3.png]


Supported Platforms
  • Windows
  • OS X
  • Linux
  • Raspberry Pi
  • Android 4.0+


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?
No. Some torrents are known not to work. Most x264 and Xvid ones work pretty well, and some other. 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 as "defined" by uTorrent 3 (http://www.utorrent.com/help/faq/ut3#faq2). 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, unless of course you change that in the settings.

Where is the file located? Can I change it?
If you don't set any download directory in the addon settings, the file will be download in the same directory as the torrent2http executable (in resources/bin/<OS>/ in the addon directory).

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?
If you can, file an issue over at https://github.com/steeve/xbmctorrent. It allows me to keep track of what doesn't work, and issue fixes accordingly, with tracking. If you can't, post here Smile

How can I use the torrents from Chrome?
First of all, install Play-to-XBMC from khloke.
Then, follow the Play-to-XBMC install instructions:
Quote: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-Unblocking in the Addon Settings. If that doesn't work, go in Advanced > Custom Domains where to you can set each provider with whatever proxy you choose.

How can I use XBMC Library integration?
This is beta feature. Go in Addon Settings > Advanced > XBMC Library Integration and select Install. After that, just right click on any torrent and choose Add to Movies or Add to TV.


Changelog
v0.6.4
  • KickassTorrents: Categories were not properly working

v0.6.3
  • Fix Director metadata
  • Fix case where metadata would crash on Gotham

v0.6.2
  • Fix issue which would prevent certain providers from working altogether

v0.6.1
  • Fix issue which would prevent ThePirateBay from working

v0.6.0
  • Kickass Torrents: instant search results, feature complete (complete rewrite)
  • BTDigg provider
  • BitSnoop provider
  • ExtraTorrent provider
  • NyaaTorrents provider
  • XBMC library integration (beta, install it via Addon Settings > Advanced > XBMC Library Integration)
  • Support for .torrent files
  • Torrent download speed improvements
  • Native RSS Torrents support
  • Clear cache via Settings/Advanced/Maintenance
  • More than 50 of bug fixes and performance improvements

v0.5.4
  • Fix Immunicity (dumb mistake)

v0.5.3
  • Multi-tracker support, provides significant download speed improvements
  • 1 click auto unblocking via Immunicity
  • Magnet Booster is properly working now
  • torrent2http now works on older Macs (Core 2 Duo etc...), >=10.6 is required.
  • Option to disable Porn categories (in PirateBay for now)

v0.5.2
  • Fix TMDB (used by YIFY and Kickass)
  • Fix ThePirateBay domain
  • Disable GA's anonymous mode to fix event collection until next release

v0.5.1
  • Add support for Minix XBMC
  • Allow for custom Android Application ID
  • Update PirateBay domain in default settings
  • Various fixes here and there

v0.5.0
  • Add Android 4.0+ support (OUYA, MK*...).
  • Add OUYA: Support for XBMC, OUYA XBMC and SPMC (SemPer Media Center)
  • Add Linux 32 bits support (XBMCbuntu)
  • Add Gotham support
  • Magnet booster (automatically adds popular trackers to a magnet, sounds dramatically increase startup speed)
  • Support for UNC paths (smb://) on Windows


Download
plugin.video.xbmctorrent-0.6.4.zip (30 MB)
(This post was last modified: 2014-03-03 21:58 by steeve.)
find quote
Ned Scott Offline
Team-XBMC Wiki Guy
Posts: 18,326
Joined: Jan 2011
Reputation: 221
Location: Arizona, USA
Post: #2
The fact that this uses torrents is fine with me as long as people don't discuss where to obtain certain torrents (discuss the protocol, not the content, etc, and there are legal video torrents out there), but Google Analytics that can't be turned off? Of all the things I wouldn't want someone else tracking, it would be my torrent activity.

You can make easy links to the XBMC wiki using double brackets around words: [[debug log]] = debug log, [[Add-on:YouTube]] = Add-on:YouTube, [[Adding videos to the library]] = Adding videos to the library, [[userdata]] = userdata, etc
find quote
GuiZ Offline
Senior Member
Posts: 127
Joined: Mar 2011
Reputation: 2
Post: #3
Hello,

I want to give it a try but don't know what to do with torrent2http and libtorrent-go.
I'm on windows.
Can you give us more information about this part? A little tutorial could help.
Thanks
find quote
steeve Offline
Senior Member
Posts: 118
Joined: Oct 2013
Reputation: 7
Post: #4
(2013-10-02 05:56)Ned Scott Wrote:  The fact that this uses torrents is fine with me as long as people don't discuss where to obtain certain torrents (discuss the protocol, not the content, etc, and there are legal video torrents out there), but Google Analytics that can't be turned off? Of all the things I wouldn't want someone else tracking, it would be my torrent activity.
Hey Ned, thanks for the feedback.

For GA, i realized it's a big issue for folks, seeing a thread for an addon that checks GA usage got to 7 pages in 24 hours. Even though it's a huge bonus in term of data driven development.
So it has now become a priority in my next release. There will be an option to turn it off.

(2013-10-02 09:58)GuiZ Wrote:  Hello,

I want to give it a try but don't know what to do with torrent2http and libtorrent-go.
I'm on windows.
Can you give us more information about this part? A little tutorial could help.
Thanks
You don't need to fiddle with that, just download the zip file, install it, and you're good to go.
(This post was last modified: 2013-10-02 10:08 by steeve.)
find quote
moneymaker Offline
Fan
Posts: 430
Joined: Feb 2012
Reputation: 22
Location: EU
Post: #5
(2013-10-02 05:56)Ned Scott Wrote:  The fact that this uses torrents is fine with me as long as people don't discuss where to obtain certain torrents (discuss the protocol, not the content, etc, and there are legal video torrents out there), but Google Analytics that can't be turned off? Of all the things I wouldn't want someone else tracking, it would be my torrent activity.
Yep, agree with Ned Scott about Google Analytics. But don't forget Ned Scott ...

Code:
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-3066672-3']);
  _gaq.push(['_setDomainName', '.xbmc.org']);
  _gaq.push(['_gat._anonymizeIp']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>

Big Grin

acestreams are not supported yet, right? or does it?

[Image: logo.png]
// downloads // latest projects / github / backups / repository
(This post was last modified: 2013-10-02 10:11 by moneymaker.)
find quote
steeve Offline
Senior Member
Posts: 118
Joined: Oct 2013
Reputation: 7
Post: #6
(2013-10-02 10:06)moneymaker Wrote:  acestreams are not supported yet, right? or does it?

Not at all, as I believe acestream (or torrentstream) is a completely different protocol. torrent2http uses libtorrent-rasterbar, which is made for bittorrent only.

(2013-10-02 10:06)moneymaker Wrote:  
Code:
_gaq.push(['_gat._anonymizeIp']);

According to https://developers.google.com/analytics/...onymizeIp:
Quote:Tells Google Analytics to anonymize the information sent by the tracker objects by removing the last octet of the IP address prior to its storage. Note that this will slightly reduce the accuracy of geographic reporting.

I just found out about this! This is great! I'll add it right away.

EDIT:
Just pushed anonymous mode into master https://github.com/steeve/xbmctorrent/co...6b44a120c5
Just pushed Google Analytics disabling into master https://github.com/steeve/xbmctorrent/co...eb1d86ab1d
(This post was last modified: 2013-10-02 16:56 by steeve.)
find quote
steeve Offline
Senior Member
Posts: 118
Joined: Oct 2013
Reputation: 7
Post: #7
Hey guys,

Feedback taken, new version uploaded, first post updated.

Changelog for 0.2.52:
- Google Analytics is now using Anonymous Mode (see updated FAQ)
- Google Analytics can now be disabled in the addon settings
- Fixed a bug that would make XBMCtorrent leak threads, and thus prevent XBMC from properly closing
- Fixed PirateBay (they had bad HTML, fixed it using html5lib all around)
find quote
Odrax Offline
Junior Member
Posts: 49
Joined: Jul 2013
Reputation: 2
Post: #8
this is really cool but i personally prefer having everything downloaded/ripped so i can seek freely and not having to rely on the torrent, speed, or anything that may cause lag or problems. this is the reason i built my HTPC in the first place. call me crazy but that's the way i like it.
find quote
steeve Offline
Senior Member
Posts: 118
Joined: Oct 2013
Reputation: 7
Post: #9
(2013-10-02 17:04)Odrax Wrote:  this is really cool but i personally prefer having everything downloaded/ripped so i can seek freely and not having to rely on the torrent, speed, or anything that may cause lag or problems. this is the reason i built my HTPC in the first place. call me crazy but that's the way i like it.
Thanks for the kind words. Of course, whatever works for you Smile

However, seeking with soon land in XBMCtorrent, as well as an option to keep the file once it's downloaded (perhaps directly to your library directory).
find quote
Odrax Offline
Junior Member
Posts: 49
Joined: Jul 2013
Reputation: 2
Post: #10
(2013-10-02 17:15)steeve Wrote:  
(2013-10-02 17:04)Odrax Wrote:  this is really cool but i personally prefer having everything downloaded/ripped so i can seek freely and not having to rely on the torrent, speed, or anything that may cause lag or problems. this is the reason i built my HTPC in the first place. call me crazy but that's the way i like it.
Thanks for the kind words. Of course, whatever works for you Smile

However, seeking with soon land in XBMCtorrent, as well as an option to keep the file once it's downloaded (perhaps directly to your library directory).

I'll definitely give it a shot once it does. hell, it might be even better than the way i'm doing things now. I'll provide feedback once I give it a go.
find quote
senna99 Offline
Fan
Posts: 379
Joined: Sep 2011
Reputation: 2
Location: Novi Sad Yugoslavia
Post: #11
when gonna be support for 32 bit windows,do I need to install anything else except plugin.video.xbmctorrent_0.2.52.zip

best regards
find quote
Robotica Offline
Banned
Posts: 1,202
Joined: Aug 2010
Post: #12
Really cool! This has been talked about for years; great you finally pull this off..
find quote
steeve Offline
Senior Member
Posts: 118
Joined: Oct 2013
Reputation: 7
Post: #13
(2013-10-02 21:16)senna99 Wrote:  when gonna be support for 32 bit windows
Hi, thanks for your interest.

Unfortunately, 32 bits Windows isn't coming soon. I originally wanted to only release release a 32 bits version, as it would work on both 32 and 64 bits Windows.
The issue is it's so unstable it doesn't even stream one file.

If more folks ask for it and this becomes a pressing issue, maybe I'll spend some time to try to figure it out.

(2013-10-02 21:16)senna99 Wrote:  do I need to install anything else except plugin.video.xbmctorrent_0.2.52.zip
Just install the zip, and you're good to go, nothing else to do. All the dependencies are already bundled in the addon.
(This post was last modified: 2013-10-03 13:34 by steeve.)
find quote
senna99 Offline
Fan
Posts: 379
Joined: Sep 2011
Reputation: 2
Location: Novi Sad Yugoslavia
Post: #14
I'll try with 64 bit thank you
find quote
watanave Offline
Member
Posts: 58
Joined: Feb 2011
Reputation: 0
Location: Santiago, Chile
Post: #15
Hola,

I use XBMC Subtitles addon to put subtitles on the go when I see something online and it works perfectly. But when I use XBMCtorrent and XBMC Subtitles opens a dialog searching for a subtitle to choose, a dialog of XBMCtorrent opens too showing info about the pears, speed, Etc. blocking the ability to choose subtitles and if you close the XBMCtorrent dialog stops the torrenting.

Please help on this.

Gracias.
find quote
Post Reply