lformella/xdcc-grabscher

Feature request: Add many packs at once

dexter777 opened this issue · 4 comments

I'm not native english, but I will try to describe it as best I can. On buttonbar, you can add button "Add packs by number" or whatever name you will think about. It will open a window similar like "XDCC Link input" but it will look something like this (I made it in paint :P) http://i.imgur.com/m0dut8v.png
I suppose i don't need to describe Server, Server address, Channel & Bot. Most important part is Packs,
let's say you want to download packs 1278, 1280, 1282....1320. You just enter 1278 into "From", 1320 into "To", 2 into "Interval", click Generate list and that right box will be filled with
1278
1280
...
1320
Of course user could just paste numbers himself in that box

ALTERNATIVE RESOLUTION:
If you don't want to do this all, then you can just modify "XDCC Link input" so user can paste many links

most bots supporting "batch" downloading:

BATCH

-- /msg [botname] XDCC BATCH [a]-[b] -- Request packs with numbers a to b, including a and b, from the bot.
-- /msg [botname] XDCC BATCH [a],[b],[c] -- Request packs with numbers [a],[b] and [c] from the bot.
-- /msg [botname] XDCC BATCH [a]-[b] [password] -- Request passworded packs with numbers a to b, including a and b, with password "password" from the bot.
-- /msg [botname] XDCC BATCH [a],[b],[c] [password] -- Request packs with numbers [a],[b] and [c], with password "password" from the bot.
-- /msg [botname] XDCC BATCH [a],[b],[c]-[d] -- Request packs with numbers a, b and c to d from the bot. (i.e, you can combine the two methods of saying which set of packs you want) 

yes, but does XG support them?

i dont think so

you need to write a script for this which uses the api.
see https://github.com/lformella/xdcc-grabscher#api