Kodi Community Forum
[RELEASE] RTorrent Control Script - Control RTorrent BitTorrent / Torrent Client - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151)
+---- Thread: [RELEASE] RTorrent Control Script - Control RTorrent BitTorrent / Torrent Client (/showthread.php?tid=60249)



[RELEASE] RTorrent Control Script - Control RTorrent BitTorrent / Torrent Client - amet - 2009-10-24

modified Boxee script to Control RTorrent

http://opensubtitles-osd.googlecode.com/files/RTorrent.zip

Image
Image

1. Download and extract in your scripts folder
2. Run script settings and select your rtorrent.rc configuration file

Apple Tv: Highlight OpenSubtitles_OSD and hold "menu", then select script settings

Keyboard: Highlight OpenSubtitles_OSD and press "c", then select script settings


3. run the script to control the RTorrent (RTorrent needs to be running)

RTorrent

Rtorrent on ATV

NOTE: you will need to install rtorrent with XMLRPC option and have SCGI set to "scgi_port = 127.0.0.1:5000" in rtorrent.rc

I am in no way condoning piracy, what you download is up to you.

Cheers
Zeljko


- queeup - 2009-10-24

Nooooooo Sad. I'm waiting this for long time and then change my torrent program rtorrent to transmission. And you release this script.. This is not fair Smile

Hmm you are also Osx user then maybe you interest with this also?


- amet - 2009-10-24

queeup Wrote:Nooooooo Sad. I'm waiting this for long time and then change my torrent program rtorrent to transmission. And you release this script.. This is not fair Smile

Switch back, Its easy .... Big Grin

queeup Wrote:Hmm you are also Osx user then maybe you interest with this also?

I fixed this to work on XBMC so that I dont need another computer to check the progress of RTorrent on my AppleTV.

Zeljko


- pmootrey - 2009-10-24

Thanks!!!!!! Been waiting for something like for awhile


- apanloco - 2009-11-14

Thanks for the script!

If you take suggestions, I would love to be able to see the ratio displayed for the torrent. I usually remove torrents on the basis of the ratio.

I have a few issues i'd love some help with:

1. I cannot exit the script using my gamepad. I have tried with different actions: Close, Back, etc, to no avail. I can close other scripts. Any idea what could interfere? I have a feeling it has something to do with it being a custom GUI.

2. For me it says "Resume All" all the time, no matter what. I have found indications in language/English/string.xml that you can get "Pause All" too, but I don't know how to trigger it.

3. I'm a bit worried about the save_settings method in utilities.py, it seems to make assumptions about the users rtorrent.rc fie. for example this chunk:
Code:
if ( torrentrc_lines[i].find( ON_FINISHED ) > -1 ):
  torrentrc_lines[i] = ON_FINISHED_STR % ( path, path )
which replaces the on_finished line with the following:
Code:
ON_FINISHED_STR = "on_finished = move_complete,\"execute=/bin/mv,-n,$d.get_base_path=,%s ;d.set_directory=%s\"\n"
And how do you know the user hasn't changed that?

4. Sometimes when I enter the settings dialog it locks up XBMC. I have a debug log here when it happens:
http://pastebin.com/m337e2b16
Hope it helps, but I doubt it...

Thanks again, cool script!


- olafg - 2009-11-14

Is there a way to show status for another computer on your local network? I am running torrents on my server and not my htpc, and would be nice to check it via xbmc.


- amet - 2009-11-15

olafg Wrote:Is there a way to show status for another computer on your local network? I am running torrents on my server and not my htpc, and would be nice to check it via xbmc.

I will add the IP address and port in settings instead of hard coding it in the script.

In the mean time you could change

RTORRENT_LOCALHOST = "scgi://localhost:5000" in gui.py to RTORRENT_LOCALHOST = "scgi://{torrent PC IP}:5000", it should work.

Zeljko


- MindTooth - 2011-01-24

Any updates for this? Just love seeing this be updated.


- Vlatko - 2011-02-10

Zeljko molim te pomoć oko postavki za torrenta.
Koliko sam shvatio ovo je klijent za računalo u mreži na kojem je postavljen torrent.
Koje postavke moram postaviti na klijentu , odnosno koje na serveru ?


- anarchintosh - 2011-02-18

amet Wrote:I am in no way condoning piracy, what you download is up to you.
sure Wink , of course you absolutely would never be condoning downloading a ZEKTORM scene release Rolleyes


- amet - 2011-02-18

anarchintosh Wrote:sure Wink , of course you absolutely would never be condoning downloading a ZEKTORM scene release Rolleyes

what I download is up to me, what you download is up to you... you have an issue with what I download get CIA, FBI or whoever you think is the relevant party to come and find me... and when they do, they can kiss my ass too Smile


- Capt.Insano - 2011-02-21

MindTooth Wrote:Any updates for this? Just love seeing this be updated.

I honestly don't give a monkeys what anyone downloads but I agree with MindTooth, any update to this Script?

I would love to see any improvements/packaging for Dharma!!

Thanks,
The Capt.