Page 1 of 1

Is it available to edit the options of the download manager?

Posted: Sun Jul 29, 2012 8:58 am
by improver
I think some of the default options of flashgot, say, aria2, might not be the best, therefore I want to edit some. Can I do that?

Aria2 is updated, therefore it does not act as before. See the usage, and you will get:
As of 1.10.0 release, aria2 uses 1 connection per host by default and has 20MiB segment size restriction. So whatever value you specify using -s option, it uses 1 connection per host. Please note that this connection restriction is applied to 1 host. If you specify multiple hosts, aria2 will use them all and open multiple connections. To make it behave like 1.9.x, use -x16 -k1M. See --max-connection-per-server and --min-split-size in the manual page.

Re: Is it available to edit the options of the download mana

Posted: Sun Jul 29, 2012 8:58 pm
by Giorgio Maone
No, it's currently not possible, but thanks for the idea.
Maybe a generic [CUSTOM] placeholder which gets replaced by custom arguments provided in an about:config preference like "flashgot.dmsopts.DOWNLOADER_NAME.customArgs" (in your case would be flashgot.dmsopts.aria2.customArgs=-x16 -k1M).

In the meanwhile you may try to hack the code directly (it's in the DMS.js file).

Re: Is it available to edit the options of the download mana

Posted: Mon Aug 27, 2012 3:29 pm
by improver
Giorgio Maone wrote:No, it's currently not possible, but thanks for the idea.
Maybe a generic [CUSTOM] placeholder which gets replaced by custom arguments provided in an about:config preference like "flashgot.dmsopts.DOWNLOADER_NAME.customArgs" (in your case would be flashgot.dmsopts.aria2.customArgs=-x16 -k1M).

In the meanwhile you may try to hack the code directly (it's in the DMS.js file).
It seems that the preference stated doesn't work.

Even if I change "aria2" to "Aria_2", it doesn't work, either.

Re: Is it available to edit the options of the download mana

Posted: Mon Aug 27, 2012 3:51 pm
by Giorgio Maone
improver wrote:
Giorgio Maone wrote:No, it's currently not possible, but thanks for the idea.
Maybe a generic [CUSTOM] placeholder which gets replaced by custom arguments provided in an about:config preference like "flashgot.dmsopts.DOWNLOADER_NAME.customArgs" (in your case would be flashgot.dmsopts.aria2.customArgs=-x16 -k1M).

In the meanwhile you may try to hack the code directly (it's in the DMS.js file).
It seems that the preference stated doesn't work.
In facts, the preference doesn't exist yet. It was just a brainstorming for a future release. Hacking DMS.js is the only option ATM, but I'm putting this feature in my TODO list.

Re: Is it available to edit the options of the download mana

Posted: Thu Aug 30, 2012 12:53 pm
by CathyGahkeeme
What does it means?=)