Search found 7 matches

by mingzhe0908
Thu Mar 03, 2011 6:21 pm
Forum: Plugins
Topic: Use twisted event loop in plugin
Replies: 0
Views: 1646

Use twisted event loop in plugin

Hi Guys, I am learning to write plugin for deluge. Now, I have a question about how to use twisted event loop in plugin? For example, If I want to connect to daemon in client, I need methods such as client.connect(), addCallback, addErrback and reactor.run(). But, In the plugin, the structure is dif...
by mingzhe0908
Wed Feb 16, 2011 11:20 pm
Forum: Development
Topic: add function to deluge core
Replies: 0
Views: 1875

add function to deluge core

Hi,

I want to add a function in deluge so that it could limit the download speed of peers. Could anyone give me information about how deluge use the C++ libtorrent library?

Thank you.

Zack
by mingzhe0908
Sun Feb 13, 2011 12:19 am
Forum: Development
Topic: Does deluge use libtorrent library
Replies: 1
Views: 2435

Does deluge use libtorrent library

Hi,

Does anyone know whether Deluge 1.3.0 use the libtorrent library or not?

Zack
by mingzhe0908
Thu Feb 10, 2011 12:50 am
Forum: Development
Topic: Speed Control of Peers
Replies: 0
Views: 1709

Speed Control of Peers

Hi,

I am new to deluge, Could anyone tell me know whether I could limit the download speed of peers when they're downloading.

Zack
by mingzhe0908
Wed Feb 09, 2011 9:52 pm
Forum: Development
Topic: Python script to get Peers information when downloading
Replies: 2
Views: 3155

Re: Python script to get Peers information when downloading

Hi Cas,

Thank you for your reply. I got it to work using client.core.get_torrent_status.

Zack
by mingzhe0908
Tue Feb 08, 2011 8:40 pm
Forum: Development
Topic: Python script to get Peers information when downloading
Replies: 2
Views: 3155

Python script to get Peers information when downloading

Hi, I want to write a python script that could show peers information such as country, id, ip when deluge is downloading. I find the module named deluge.core.torrent which has the function get_peers that can achieve it. But there are many parameters for the deluge.core.torrent, I don't have any idea...
by mingzhe0908
Thu Jan 06, 2011 8:00 pm
Forum: Development
Topic: Help for Deluge Simple Example
Replies: 1
Views: 2415

Help for Deluge Simple Example

Hello, I am new to Python and deluge. I want to run the sample client for deluge, but I have 3 errors with the import. They are: from deluge.ui.client import client from twisted.internet import reactor from deluge.log import setupLogger Could anyone give me some suggestions about how to import these...