[Feature Request] More DBus methods

Suggestions and discussion of future versions
Post Reply
spdf
New User
New User
Posts: 4
Joined: Sun Feb 10, 2008 3:10 pm

[Feature Request] More DBus methods

Post by spdf »

Are there plans to add more dbus methods for getting torrent details and other information out of deluge?
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: [Feature Request] More DBus methods

Post by andar »

spdf wrote:Are there plans to add more dbus methods for getting torrent details and other information out of deluge?
No, but someone could write a plugin to facilitate this pretty easily.
mvoncken
Developer
Developer
Posts: 225
Joined: Mon Sep 03, 2007 9:38 pm

Re: [Feature Request] More DBus methods

Post by mvoncken »

andar wrote:
spdf wrote:Are there plans to add more dbus methods for getting torrent details and other information out of deluge?
No, but someone could write a plugin to facilitate this pretty easily.
In 0.5 the webui plugin provides lots of dbus methods, see "plugins/WebUI/dbus_interface.py"
that part was originally coded as a separate plugin.
0.5 example : http://forum.deluge-torrent.org/viewtop ... 1485#p7995


In 0.6 you have to use xmlrpc via "ui/client.py"
dev: webui, core, labels | irc:vonck7 |
spdf
New User
New User
Posts: 4
Joined: Sun Feb 10, 2008 3:10 pm

Re: [Feature Request] More DBus methods

Post by spdf »

Awesome, thanks.
mvoncken
Developer
Developer
Posts: 225
Joined: Mon Sep 03, 2007 9:38 pm

Re: [Feature Request] More DBus methods

Post by mvoncken »

spdf wrote:Awesome, thanks.
May i ask what you're trying to do/build ?
It could be something really cool ;)
dev: webui, core, labels | irc:vonck7 |
spdf
New User
New User
Posts: 4
Joined: Sun Feb 10, 2008 3:10 pm

Re: [Feature Request] More DBus methods

Post by spdf »

Currently, I'm developing a screenlet for torrent information. Though, having to have someone enable the WebUI isn't what I want people to have to do. It would be great if either dbus were added to core, or at least webui and dbus were seperate plugins.

Shouldn't be a problem with xmlrpc though, when that's ready.
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: [Feature Request] More DBus methods

Post by andar »

spdf wrote:Currently, I'm developing a screenlet for torrent information. Though, having to have someone enable the WebUI isn't what I want people to have to do. It would be great if either dbus were added to core, or at least webui and dbus were seperate plugins.

Shouldn't be a problem with xmlrpc though, when that's ready.
xlmrpc methods are already available in 0.6.

In regards to dbus in 0.5, I would accept a patch to extend the current dbus interface in the core. The patch might need to alter the webui plugin to use the built-in dbus interface as well.
spdf
New User
New User
Posts: 4
Joined: Sun Feb 10, 2008 3:10 pm

Re: [Feature Request] More DBus methods

Post by spdf »

Er, rather, when 0.6 is ready.
mvoncken
Developer
Developer
Posts: 225
Joined: Mon Sep 03, 2007 9:38 pm

Re: [Feature Request] More DBus methods

Post by mvoncken »

New docs for 0.6 , it is ready-enough for plugin/ui developers.

http://dev.deluge-torrent.org/wiki/Development/UiClient
dev: webui, core, labels | irc:vonck7 |
Post Reply