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

Ask for help about FlashGot, no registration needed to post
Post Reply
improver

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

Post 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.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:14.0) Gecko/20100101 Firefox/14.0.1
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

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

Post 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).
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20100101 Firefox/14.0.1
improver

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

Post 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.
Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20100101 Firefox/14.0.1 Iceweasel/14.0.1
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

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

Post 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.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20100101 Firefox/14.0.1
CathyGahkeeme
Posts: 1
Joined: Wed Aug 29, 2012 8:59 am

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

Post by CathyGahkeeme »

What does it means?=)
Mozilla/5.0 (Windows NT 6.1; rv:15.0) Gecko/20100101 Firefox/15.0
Post Reply