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

General support for problems installing or using Deluge
kissyc
Member
Member
Posts: 10
Joined: Sun Jan 13, 2013 5:41 am

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

Post 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?
kissyc
Member
Member
Posts: 10
Joined: Sun Jan 13, 2013 5:41 am

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

Post 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?
kissyc
Member
Member
Posts: 10
Joined: Sun Jan 13, 2013 5:41 am

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

Post by kissyc »

?????????????????????????????? help me
Post Reply