[RELEASE] RTorrent Control Script - Control RTorrent BitTorrent / Torrent Client

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
amet Offline
How do ya like them apples?
Posts: 4,100
Joined: Jul 2009
Reputation: 41
Location: Novi Sad / Dubai
Thumbs Up  [RELEASE] RTorrent Control Script - Control RTorrent BitTorrent / Torrent Client
Post: #1
modified Boxee script to Control RTorrent

http://opensubtitles-osd.googlecode.com/...orrent.zip

[Image: rtorrent2.jpg]
[Image: rtorrent1.jpg]

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

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

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

[/INDENT]

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


Always read the XBMC_Online_Manual,Frequently_Asked_Questions and search the forum before posting.
For troubleshooting and bug reporting use -> Log_file.
(This post was last modified: 2009-11-08 18:01 by amet.)
find quote
queeup Offline
Posting Freak
Posts: 763
Joined: Feb 2009
Reputation: 16
Post: #2
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?
find quote
amet Offline
How do ya like them apples?
Posts: 4,100
Joined: Jul 2009
Reputation: 41
Location: Novi Sad / Dubai
Post: #3
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


Always read the XBMC_Online_Manual,Frequently_Asked_Questions and search the forum before posting.
For troubleshooting and bug reporting use -> Log_file.
find quote
pmootrey Offline
Junior Member
Posts: 15
Joined: Feb 2009
Reputation: 0
Post: #4
Thanks!!!!!! Been waiting for something like for awhile
find quote
apanloco Offline
Member
Posts: 71
Joined: Mar 2008
Reputation: 0
Post: #5
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!
find quote
olafg Offline
Junior Member
Posts: 25
Joined: May 2009
Reputation: 0
Post: #6
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.
find quote
amet Offline
How do ya like them apples?
Posts: 4,100
Joined: Jul 2009
Reputation: 41
Location: Novi Sad / Dubai
Post: #7
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


Always read the XBMC_Online_Manual,Frequently_Asked_Questions and search the forum before posting.
For troubleshooting and bug reporting use -> Log_file.
find quote
MindTooth Offline
Senior Member
Posts: 158
Joined: Feb 2010
Reputation: 0
Post: #8
Any updates for this? Just love seeing this be updated.
find quote
Vlatko Offline
Junior Member
Posts: 1
Joined: Jan 2011
Reputation: 0
Post: #9
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 ?
find quote
anarchintosh Offline
Senior Member
Posts: 282
Joined: Jul 2010
Reputation: 4
Post: #10
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
find quote
amet Offline
How do ya like them apples?
Posts: 4,100
Joined: Jul 2009
Reputation: 41
Location: Novi Sad / Dubai
Post: #11
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


Always read the XBMC_Online_Manual,Frequently_Asked_Questions and search the forum before posting.
For troubleshooting and bug reporting use -> Log_file.
find quote
Capt.Insano Offline
Member
Posts: 78
Joined: Mar 2010
Reputation: 0
Location: Dublin, Ireland
Post: #12
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.
find quote