Disk space/unrar help with coding it/feature req

Suggestions and discussion of future versions
mrbrdo
Member
Member
Posts: 37
Joined: Mon Jun 02, 2008 6:18 am

Re: Disk space/unrar help with coding it/feature req

Post by mrbrdo »

i'm sorry, it is my fault that i was too lazy to try the svn before i asked anything... it works in the svn version :) actually, it might have even worked before, maybe i didn't notice it in the config part of the webui (in classic skin).

since i see you are here, i guess you can save me some hassle and tell me - how would i go about with including the df.html code 'part' in index.html? and how would i go about with reading a variable from the plugin in index, like i can in df. i am going to start trying but i hope you're faster :)

EDIT: why i ask is because if i do "$def with (torrent_list, organize_filters, df_result)" i get "TypeError : values for ['df_result'] are required". sorry if this is something obvious to a python-programmer, i'm more used to C++ and such, kinda new to python i guess. edit2: hm i guess that would be the wrong way anyway, seems like those are parameters for the render function, right? :P
Last edited by mrbrdo on Sat Sep 20, 2008 8:44 am, edited 1 time in total.
mvoncken
Developer
Developer
Posts: 225
Joined: Mon Sep 03, 2007 9:38 pm

Re: Disk space/unrar help with coding it/feature req

Post by mvoncken »

mrbrdo wrote:i'm sorry, it is my fault that i was too lazy to try the svn before i asked anything... it works in the svn version :) actually, it might have even worked before, maybe i didn't notice it in the config part of the webui (in classic skin).
since i see you are here, i guess you can save me some hassle and tell me - how would i go about with including the df.html code 'part' in index.html?
1 : You would have to wait for the status-bar api.

mrbrdo wrote: and how would i go about with reading a variable from the plugin in index, like i can in df. i am going to start trying but i hope you're faster :)
2:
You can't.
You could do it by modifying the index class in pages.py, and modifying the deluge templates but then you're hacking deluge itself.
See 1.

And for fast chat you can join us on irc ;).
dev: webui, core, labels | irc:vonck7 |
Post Reply