Re: Issue 10 in wtorrent-project: (Trac:2) Auto refresh torrent list

6 views
Skip to first unread message

wtorrent...@googlecode.com

unread,
Apr 9, 2012, 1:18:47 AM4/9/12
to wtorrent-...@googlegroups.com

Comment #8 on issue 10 by jc...@girl4.com: (Trac:2) Auto refresh torrent
list
http://code.google.com/p/wtorrent-project/issues/detail?id=10#c8

Commented by jc...@girl4.com on 2009-08-01 00:05:49:

You're looking for something like this..

55 for (var evt in events)
56 {
57 var actions = events[evt];
58 for (var action in actions)
59 {
60 this.events.bindHandler(evt, action,
this[actions[action]].bind(this));
61 new
PeriodicalExecuter(this['reloadMain'].bind(this),30);
62 }
63 }
64 },

wtorrent...@googlecode.com

unread,
Apr 9, 2012, 1:22:48 AM4/9/12
to wtorrent-...@googlegroups.com

Comment #4 on issue 10 by jc...@girl4.com: (Trac:2) Auto refresh torrent
list
http://code.google.com/p/wtorrent-project/issues/detail?id=10#c4

Commented by jc...@girl4.com on 2008-08-18 10:55:01:

This new functionnality would definitely rock. It is the only major weak
point of wTorrent I can think of currently.

Any help needed to implement that ?

wtorrent...@googlecode.com

unread,
Apr 9, 2012, 1:26:50 AM4/9/12
to wtorrent-...@googlegroups.com

Comment #6 on issue 10 by jc...@girl4.com: (Trac:2) Auto refresh torrent
list
http://code.google.com/p/wtorrent-project/issues/detail?id=10#c6

Commented by jc...@girl4.com on 2009-02-16 13:13:21:

Replying to [comment:7 anonymous]:
> Here's a quick and dirty solution for anyone who wants this functionality
> in the meantime. In wtorrent/wt/js/control.js, add the following line to
> the end of the controller's initialize function (line 60 in r97):

> {{{
> new PeriodicalExecuter(this['reloadMain'].bind(this),60);
> }}}

> Change 60 to whatever duration (in seconds) you want between refreshes.
Any way you could attach the updated file for us less less savvy users who
do not feel comfortable editing the file.

wtorrent...@googlecode.com

unread,
Apr 9, 2012, 1:30:52 AM4/9/12
to wtorrent-...@googlegroups.com
Status: Accepted
Owner: jc...@girl4.com
Labels: Priority-High Type-Enhancement Milestone-Current-Refresh
FoundIn-HEAD

New issue 10 by jc...@girl4.com: (Trac:2) Auto refresh torrent list
http://code.google.com/p/wtorrent-project/issues/detail?id=10

(Trac:2) Originaly reported by royger

Auto refresh torrent list every given amount of time.

Set minimum allowed refresh time to avoid DoS.

wtorrent...@googlecode.com

unread,
Apr 9, 2012, 1:34:54 AM4/9/12
to wtorrent-...@googlegroups.com

Comment #5 on issue 10 by jc...@girl4.com: (Trac:2) Auto refresh torrent
list
http://code.google.com/p/wtorrent-project/issues/detail?id=10#c5

Commented by jc...@girl4.com on 2008-12-29 01:23:55:

wtorrent...@googlecode.com

unread,
Apr 9, 2012, 1:39:02 AM4/9/12
to wtorrent-...@googlegroups.com

Comment #11 on issue 10 by jc...@girl4.com: (Trac:2) Auto refresh torrent
list
http://code.google.com/p/wtorrent-project/issues/detail?id=10#c11

Commented by jc...@girl4.com on 2010-06-29 15:40:21:

I think for the moment to get a quick fix implemented, I can create a PHP
script to be loaded as Javascript, that will include the code to
auto-refresh if configured to do so, or just return empty if configured not
to do so.

Will try and do something better and cleaner to just update the details for
the current list without refreshing the whole thing a little later on when
some other things are fixed.

wtorrent...@googlecode.com

unread,
Apr 9, 2012, 1:43:06 AM4/9/12
to wtorrent-...@googlegroups.com

Comment #2 on issue 10 by jc...@girl4.com: (Trac:2) Auto refresh torrent
list
http://code.google.com/p/wtorrent-project/issues/detail?id=10#c2

Commented by jc...@girl4.com on 2008-07-22 15:41:48:

Any updates on when this will be added?

wtorrent...@googlecode.com

unread,
Apr 9, 2012, 1:47:09 AM4/9/12
to wtorrent-...@googlegroups.com

Comment #7 on issue 10 by jc...@girl4.com: (Trac:2) Auto refresh torrent
list
http://code.google.com/p/wtorrent-project/issues/detail?id=10#c7

Commented by jc...@girl4.com on 2009-05-24 12:54:33:

Would it be possible to add auto refresh solely to the showResponseMain
part of the code? Updating the whole torrentlist is overkill for me. I'm
just interested in the total download and upload rate. This information
should be possible to update quite frequent without too much load? Or does
it rely on some other heavy operation?

Tanks for the great effort you all put into wtorrent.

wtorrent...@googlecode.com

unread,
Apr 9, 2012, 1:51:12 AM4/9/12
to wtorrent-...@googlegroups.com
Updates:
Owner: jc...@girl4.com

Comment #1 on issue 10 by jc...@girl4.com: (Trac:2) Auto refresh torrent
list
http://code.google.com/p/wtorrent-project/issues/detail?id=10#c1

Commented by jc...@girl4.com on 2008-01-15 11:02:23:

Replying to [ticket:2 royger]:

wtorrent...@googlecode.com

unread,
Apr 9, 2012, 1:55:14 AM4/9/12
to wtorrent-...@googlegroups.com

Comment #3 on issue 10 by jc...@girl4.com: (Trac:2) Auto refresh torrent
list
http://code.google.com/p/wtorrent-project/issues/detail?id=10#c3

Commented by jc...@girl4.com on 2008-07-22 17:40:41:

I'm working on an auto-update using JSON, which would mean less load for
the server.

wtorrent...@googlecode.com

unread,
Apr 9, 2012, 1:59:16 AM4/9/12
to wtorrent-...@googlegroups.com

Comment #12 on issue 10 by jc...@girl4.com: (Trac:2) Auto refresh torrent
list
http://code.google.com/p/wtorrent-project/issues/detail?id=10#c12

Commented by jc...@girl4.com on 2010-10-16 06:24:06:

I have included this enhancement on my wtorrent mod:
http://wtorrent.googlecode.com/files/wtorrent_r108_EN.zip

wtorrent...@googlecode.com

unread,
Apr 9, 2012, 2:03:19 AM4/9/12
to wtorrent-...@googlegroups.com

Comment #10 on issue 10 by jc...@girl4.com: (Trac:2) Auto refresh torrent
list
http://code.google.com/p/wtorrent-project/issues/detail?id=10#c10

Commented by jc...@girl4.com on 2010-03-17 10:46:37:

the correct version of that seems to be:

{{{


for (var evt in events)

{


var actions = events[evt];

for (var action in actions)

{


this.events.bindHandler(evt, action,
this[actions[action]].bind(this));
}
}

new PeriodicalExecuter(this['reloadMain'].bind(this),30);

}}}


since the above way reloads the torrent list several times...

wtorrent...@googlecode.com

unread,
Apr 9, 2012, 2:07:20 AM4/9/12
to wtorrent-...@googlegroups.com

Comment #9 on issue 10 by jc...@girl4.com: (Trac:2) Auto refresh torrent
list
http://code.google.com/p/wtorrent-project/issues/detail?id=10#c9

Commented by jc...@girl4.com on 2009-08-01 00:10:58:

Repost above -_-

{{{
#!text/html


for (var evt in events)

{


var actions = events[evt];

for (var action in actions)

{


this.events.bindHandler(evt, action,
this[actions[action]].bind(this));

new PeriodicalExecuter(this['reloadMain'].bind(this),30);
}
}
}}}

wtorrent...@googlecode.com

unread,
Apr 9, 2012, 2:11:22 AM4/9/12
to wtorrent-...@googlegroups.com

Comment #13 on issue 10 by jc...@girl4.com: (Trac:2) Auto refresh torrent
list
http://code.google.com/p/wtorrent-project/issues/detail?id=10#c13

Commented by jc...@girl4.com on 2011-08-02 02:34:29:

Cheap drugs for you: [http://villor.dzaba.com/atenolol/cystospaz.html
cystospaz] is about cystospaz ...
[http://audio.ya.com/miki_13_13/cytomel/buy-cytomel-t3-uk.html cytomel] is
about buy cytomel t3 uk ...
[http://agora.ya.com/slam-d/norvasc/calcium-channel-blockers.html norvasc]
is about calcium channel blockers ...
[http://espona.atwebpages.com/zolpidem/buy-zolpidem-india.html zolpidem] is
about buy zolpidem india ...
[http://www.angelfire.com/planet/wed_felicity/hydrocodone/hydrocodone-bitartrate.html
hydrocodone bitartrate site] is about hydrocodone bitartrate ...
[http://thein.atwebpages.com/adipex/best-price.html best price] is about
best price ...
[http://fita03.xf.cz/phendimetrazine/phendimetrazine-dosage.html
phendimetrazine dosage site] is about phendimetrazine dosage ...
[http://harvys.dzaba.com/cymbalta/cymbalta-drink-alcohol.html cymbalta
drink alcohol site] is about cymbalta drink alcohol ...
[http://abaco.ya.com/esp4urk0/zovirax/sudbury-zovirax.html sudbury zovirax]
is about sudbury zovirax ...
[http://dannygarcia.8k.com/vicodin/vicodin-side-effects.html vicodin side
effects] is about vicodin side effects ...
[http://digilander.libero.it/dentisti/fexofenadine/fexofenadine-side-effects.html
fexofenadine side effects] is about fexofenadine side effects ...

Reply all
Reply to author
Forward
0 new messages