taskWeeChat - Tasks: task #11884, Multiple xdcc downloads from same...


task #11884: Multiple xdcc downloads from same 'bot'

Submitted by:  Agostino Sarubbo <ago>
Submitted on:  Mon 05 Mar 2012 09:45:21 AM UTC  
Category:  None Should Start On:  Mon 05 Mar 2012 12:00:00 AM UTC
Should be Finished on:  Mon 05 Mar 2012 12:00:00 AM UTC Priority:  5 - Normal
Status:  None Privacy:  Public
Percent Complete:  0% Assigned to:  None
Originator Name:  Open/Closed:  Open
Planned Release:  None IRC nick:  ago

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sun 15 Jul 2012 02:05:34 AM UTC, comment #1:

This really depends on #10645.

You would also want a way to check whether a transfer ended correctly in the infolist provided by the `xfer_ended` signal, so you can retry if needed. Other than that, it's just some simple queue control. However, without the two mentioned features, you would have to assume that xfers are being accepted, and also that they are always successful upon receiving `xfer_ended`, and that's assuming way too much.

Auto detecting bot features might prove tricky. However, I think simply managing the queue ourselves is perfectly fine. Request one pack, wait for it to finish, request next pack. There's no practical difference with keeping packs queued on the bot.

Michishige Kaito <mkaito>
Mon 05 Mar 2012 09:45:21 AM UTC, original submission:

It would be cool have a plugin that is able to download multiple files from the same bot; let me explain better.

Most of irc bot, that contains file to download, allows one transfer at same time and after it you can 'enqueue' another file.
So, if I would download more than 2 files, I'm unable to do it with an 'automatic' way.

That script, with a pseudo-code(bash) should do:

for i in 3 9 21 32 12; do
xdcc send #${i}

and should be easy to lauch a script with:
/script $bot 3 9 21 32 12

So, it starts to download #3 but it must start #9 only when #3 is finished.

In that manner this plugins should works well, but it could be writed to be more advanced than what I said; let me explain

As I said, I'm able at same time to download one file and enqueue another one.

So, if I launch /script $bot 3 9 21 32 12 the script can download #3 and enqueque #9 . When #3 is finished, #9 will be downloaded and #21 should be enqueued.

So, the problem is that every irc bot is configured differently.
There are a lot of configurations:
1)allow 1 transfer and 1 queue
2)allow 1 transfer and 0 queue
3)allow 2 transfer and 1 queue
3)allow 3 or more transfer and some queue
and so on

So, the script should be capable to know what the bot supports and act accordingly.

Agostino Sarubbo <ago>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by mkaito (Posted a comment)
  • -email is unavailable- added by ago (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    No changes have been made to this item

    Back to the top

    Powered by Savane 3.4