Page 2 of 2

Re: I use the Ubuntu terminal how to add IP ( add peer )?

Posted: Tue Jan 22, 2013 5:26 pm
by kissyc
Thank you very much
terminal how to add IP ( add peer )?



How to write a script? Can you give me an example?
For example, I want every torrent to auto add 2 IP: 223.192.191.1:60 and 223.192.191.5:60
Can you give me attached to this script?

Re: I use the Ubuntu terminal how to add IP ( add peer )?

Posted: Tue Jan 22, 2013 5:27 pm
by kissyc
Cas wrote:It is possible using the Execute plugin and the Torrent Added event. You would need to write a script that uses the following method to add the peers to every torrent:

Code: Select all

client.core.connect_peer(torrent_id, ip, port)

Thank you very much
terminal how to add IP ( add peer )?



How to write a script? Can you give me an example?
For example, I want every torrent to auto add 2 IP: 223.192.191.1:60 and 223.192.191.5:60
Can you give me attached to this script?

Re: I use the Ubuntu terminal how to add IP ( add peer )?

Posted: Fri Jan 25, 2013 1:25 am
by kissyc
?????????????????????????????? help me