JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 21.03.2019, 03:37
madmax2 madmax2 is offline
JD VIP
 
Join Date: Sep 2009
Posts: 416
Default better control of file hosters max sim. downloads per hoster

Not sure if this feature exists or not
but I would like to have better control of each file hosters max sim. downloads per hoster

E.g. If I want to rapidgator to only download 2 files at the same time
while keep all the other hosters max sim. downloads per hoster unchanged then we should be able to do this just for that hoster..

The reason this is needed is cos some hosters set a max sim download and it would not download more than that

Assuming that I set max sim downloads to 3
So if I download an entire package that consists of different file hosts..
If this feature was enabled, it would only download 2 files from rapidgator and download a third file from another hoster..

There is setting max sim downloads per hoster, then that would hard set all hosters to e.g. 2
instead of just 2 for rapidgator etc..

I hoped I explained this feature request clearly..
Reply With Quote
  #2  
Old 21.03.2019, 06:08
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,533
Default

Quote:
Originally Posted by madmax2 View Post
... control of each file hosters max sim. downloads per hoster ...
Settings > Advanced Settings > GeneralSettings.domainrules

Example:
Code:
[ {
  "domainPattern" : ".*jdownloader\\.org",
  "enabled" : true,
  "maxSimultanDownloads" : 2,
  "allowToExceedTheGlobalLimit" : false
} ]
Reply With Quote
  #3  
Old 21.03.2019, 09:51
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,342
Default

Thanks @mgpai for fast help
__________________
JD-Dev & Server-Admin
Reply With Quote
  #4  
Old 21.03.2019, 22:21
madmax2 madmax2 is offline
JD VIP
 
Join Date: Sep 2009
Posts: 416
Default

Quote:
Originally Posted by mgpai View Post
Settings > Advanced Settings > GeneralSettings.domainrules

Example:
Code:
[ {
  "domainPattern" : ".*jdownloader\\.org",
  "enabled" : true,
  "maxSimultanDownloads" : 2,
  "allowToExceedTheGlobalLimit" : false
} ]
thanks for info
Reply With Quote
  #5  
Old 21.03.2019, 22:27
madmax2 madmax2 is offline
JD VIP
 
Join Date: Sep 2009
Posts: 416
Default

Quote:
Originally Posted by Jiaz View Post
Thanks @mgpai for fast help
would this rule also work if I am using a multi hoster account?

Also this would be good if this was made as a GUI setting under plugins or hoster settings.
so we can easily change it for the different hosters..instead of needing to write it under advance settings for each hosters etc..which is not as user friendly..

BTW how do you put more than one hoster in that advance settings?
Can you paste an example?

==========


update:

I am not sure what I am doing wrong, but it is not working

[ {
"domainPattern" : ".*rapidgator\\.net",
"filenamePattern" : null,
"accountPattern" : null,
"pluginPattern" : null,
"enabled" : true,
"maxSimultanDownloads" : 2,
"allowToExceedTheGlobalLimit" : false
} ]

Last edited by madmax2; 21.03.2019 at 22:33.
Reply With Quote
  #6  
Old 22.03.2019, 10:04
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,342
Default

Syntax is JSON, so multiple rules work like this
[ {rule1} , {rule2}, {rule3}]

those rules (domainPattern) match on the download hoster. so you limit for example rapidgator to max 2 simultan downloads. the rule should work fine. Or do you want to limit max downloads of the Multihoster?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #7  
Old 22.03.2019, 10:05
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,342
Default

Quote:
Originally Posted by madmax2 View Post
Also this would be good if this was made as a GUI setting under plugins or hoster settings.
so we can easily change it for the different hosters..instead of needing to write it under advance settings for each hosters etc..which is not as user friendly..
I agree but this feature has started as an 'advanced' feature most ppl don't have a use/need for and creating a userfriendly GUI editor isn't that easy/fast as it sounds and at the moment we're drowning in work and that's why no big GUI changes are planed in near future
__________________
JD-Dev & Server-Admin
Reply With Quote
  #8  
Old 22.03.2019, 12:07
madmax2 madmax2 is offline
JD VIP
 
Join Date: Sep 2009
Posts: 416
Default

Quote:
Originally Posted by Jiaz View Post
Syntax is JSON, so multiple rules work like this
[ {rule1} , {rule2}, {rule3}]

those rules (domainPattern) match on the download hoster. so you limit for example rapidgator to max 2 simultan downloads. the rule should work fine. Or do you want to limit max downloads of the Multihoster?
I am not sure what you mean by the second paragraph

Basically my multihoster lets me download from different hosts
but I noticed when I download from rapidgator via the multihoster,
it does not let me download more than 2 files simultaneously, and the the third would not download etc..(probably due to some the hoster or multihoster set limit)..

I want to limit only rapidgator to 2 files and keep other hosters as 3 files when downloading from my multihoster...

So if I click download on a package..
It would download 2 from rapidgator and a third one from another hoster
instead of trying download all 3 files from rapidgator..

So how do I set this up via that advance setting?

I just tried to create a rule.
I am not sure what I am doing wrong but it is still downloading 3 files from rapidgator..


[ {
"domainPattern" : ".*rapidgator\\.net",
"filenamePattern" : null,
"accountPattern" : null,
"pluginPattern" : null,
"enabled" : true,
"maxSimultanDownloads" : 2,
"allowToExceedTheGlobalLimit" : false
} ]

Last edited by madmax2; 22.03.2019 at 13:22.
Reply With Quote
  #9  
Old 26.03.2019, 16:38
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,342
Default

Do NOT start downloads via rightclick context menu as this will bypass custom/user limits and start downloads as long as possible (reaching upper limit provided by plugins).
Just hit the start button and JDownloader should download max 2 files from rapidgator and then go over to next possible download/hoster. When you start via rightclick menu, you enforce the download to ignore limits.
Please try that and provide feedback
__________________
JD-Dev & Server-Admin
Reply With Quote
  #10  
Old 27.03.2019, 00:37
madmax2 madmax2 is offline
JD VIP
 
Join Date: Sep 2009
Posts: 416
Default

Quote:
Originally Posted by Jiaz View Post
Do NOT start downloads via rightclick context menu as this will bypass custom/user limits and start downloads as long as possible (reaching upper limit provided by plugins).
Just hit the start button and JDownloader should download max 2 files from rapidgator and then go over to next possible download/hoster. When you start via rightclick menu, you enforce the download to ignore limits.
Please try that and provide feedback
Unfortunately I cannot do what you said
because I have a lot of packages in my download queue (Total approx 5TB of data)
If I do that, it would download everything from the top down..
And if I don't watch the downloads, it will fill up my entire hard drive.

This has happen in the past, when I click the start download button by mistake.
That's why I only do the right click on context menu on the packages that I want to download immediately...

Can you implement an advance setting that lets us right click context menu to start the download of a package and still follow the advance settings download limit rule.

Basically some sort of rule that don't ignore the advance settings when doing a right click context menu start the download of a package..

BTW why did the you or developer/s decided to make a ignore rule limit when a doing a right click context menu start?

Last edited by madmax2; 27.03.2019 at 02:19.
Reply With Quote
  #11  
Old 27.03.2019, 14:30
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,342
Default

You could for example:
-disable all links and only enable those you want to download
-move the links you want to download to the top of the list
-increase/change priority of the links

I could add another flag in rules to also limit forced downloads to honor the customized the limit. I've created a ticket for this
__________________
JD-Dev & Server-Admin
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 10:46.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.