JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 31.08.2017, 06:01
RPNet-user RPNet-user is offline
JD Beta
 
Join Date: Apr 2017
Posts: 56
Default Max Simultaneous downloads per-package only

is there a way to set the number of max simultaneous downloads per package only?, for example, when you right click on the package and set >properties>max. chunks per download, is there a similar method to set the max downloads for that package?....i have several packages from different hosters and the global max setting is@1 download because i have it set to 8-chunks, however, one-package from a particular hoster does not work well with more than one chunk but works perfect with 4 or 5 simultaneous downloads, is there a way to set only this package to 4 simultaneous downloads?...i have already set the chunks for the package for only one chunk per file.
Reply With Quote
  #2  
Old 31.08.2017, 09:26
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 63,353
Default

You can use Domain Rules (use board search) to set individual limits per file on different criterias like name, hoster, account...
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 31.08.2017, 20:12
RPNet-user RPNet-user is offline
JD Beta
 
Join Date: Apr 2017
Posts: 56
Default

would you please be a little more specific
Reply With Quote
  #4  
Old 01.09.2017, 01:55
RPNet-user RPNet-user is offline
JD Beta
 
Join Date: Apr 2017
Posts: 56
Default

the only domain rules i found has the following function-value which has nothing to do specifically with setting the maximum simultaneous down-limit for an individual hoster:

[ {
"domainPattern" : ".*jdownloader\\.org",
"filenamePattern" : "\\.png$",
"accountPattern" : "myUsername",
"pluginPattern" : null,
"enabled" : false,
"maxSimultanDownloads" : 20,
"allowToExceedTheGlobalLimit" : false
} ]
Reply With Quote
  #5  
Old 01.09.2017, 11:18
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 63,353
Default

domainPattern specifies regex on which domain the rule will match
for example .*share-online\\.biz for Share-Online

accountPattern specifies regex on which account the rule will match
null for all or "username"

pluginPattern specifies regex on which plugin the rule will match
for example .*share-online\\.biz for Share-Online

allowToExceedTheGlobalLimit must be true to allow more than global 20 limit
__________________
JD-Dev & Server-Admin
Reply With Quote
  #6  
Old 02.09.2017, 02:39
RPNet-user RPNet-user is offline
JD Beta
 
Join Date: Apr 2017
Posts: 56
Default

I want to keep the global at 20 but the local for a specific host/package to 5-max.
Should the domainPattern be the host(Alfafile) or the multihoster(RPNet) that i use for that host?
Should the accountPattern be null or the username for the multihoster account?
I assume that the pluginPattern will be for Alfafile since that is the hoster that i want to set the limit for.
Reply With Quote
  #7  
Old 04.09.2017, 17:23
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 63,353
Default

Code:
[
{
"pluginPattern": ".*premium.rpnet.biz",
"enabled" : true,
"domainPattern" : ".*alfafile.net",
"maxSimultanDownloads" : 30,
"allowToExceedTheGlobalLimit" : true
}
]
allow downloads from alfafile via rpnet to exceed global limit and max 30 downloads
__________________
JD-Dev & Server-Admin
Reply With Quote
  #8  
Old 07.09.2017, 09:17
RPNet-user RPNet-user is offline
JD Beta
 
Join Date: Apr 2017
Posts: 56
Default

buddy, sorry, but you clearly do not understand what it is i'm trying to do....i"m not trying to exceed any global limit(20), i simply need to set a number of downloads per-package(5) just like you would with setting the max chunks per download, but in this case, set the max downloads per-package regardless of the hoster, in this case it is for alfafile.

For example...I add three packages with each having 20-links per-package which I added to the JD2 download queue, pack-1 are uploaded links, pack-2 are uploadrocket links, and pack-3 are alfafile links, now the global max downloads is set to one(1) and the global max chunks is set to ten(10), however, for the alfafile package, i right-click and set the max chunks to one(1), but i also want to set the package properties for alfafile only to download a max of five(5) concurrent simultaneous dowloads

Last edited by RPNet-user; 07.09.2017 at 09:21.
Reply With Quote
  #9  
Old 07.09.2017, 09:31
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 16,112
Default

You can not set max sim dl per package
just not possible under this current implementation of JDonwloader
its been asked for in the past, and I believe the answer was it wasn't going to be implemented.

the only solution would be to micro manage this yourself via event scripter script.

raztoki
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #10  
Old 07.09.2017, 13:56
RPNet-user RPNet-user is offline
JD Beta
 
Join Date: Apr 2017
Posts: 56
Default

ok thanks, i should have thought of the event script:)

I found the information on an open feature request ticket that is still open (Feature #65696).
I'm in agreement with the request and i hope that it will be implemented someday including a speed-limit per-package.



Code:
https://board.jdownloader.org/showthread.php?t=64138&highlight=Max+Simultaneous+downloads
Code:
https://svn.jdownloader.org/issues/65696

Last edited by RPNet-user; 07.09.2017 at 15:31.
Reply With Quote
  #11  
Old 07.09.2017, 16:05
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 63,353
Default

@RPNet-User: my example rule does exactly what you want.
It leaves all on default any only allows alfafile links to have more concurrent downloads.
As raztoki already explained, this requires micro management but at least it works as expected.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #12  
Old 07.09.2017, 17:20
RPNet-user RPNet-user is offline
JD Beta
 
Join Date: Apr 2017
Posts: 56
Default

Thanks Jiaz, i will try it by setting the "maxSimultanDownloads" : 5,


@mgpai.....i set the packagizer rule for alafile@one chunk and it works perfectly

Last edited by RPNet-user; 07.09.2017 at 18:25.
Reply With Quote
  #13  
Old 07.09.2017, 18:08
RPNet-user RPNet-user is offline
JD Beta
 
Join Date: Apr 2017
Posts: 56
Default

@Jiaz, unfortunately, the rule did not work, i even tried inverting domainpattern and pluginpattern iformation and tried setting both to either premium.rpnet.biz or alafafile.net and none of the combinations worked
Reply With Quote
  #14  
Old 07.09.2017, 19:04
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 63,353
Default

Can you provide the rule you've tried?
So you are downloading from alafile via rpnet? and you want all hosts to be limited to 1 concurrent download except alafile?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #15  
Old 07.09.2017, 19:11
RPNet-user RPNet-user is offline
JD Beta
 
Join Date: Apr 2017
Posts: 56
Default

Exactly, you are correct on both, below are the combinations that i tried, but all failed:

[
{
"pluginPattern": ".*premium.rpnet.biz",
"enabled" : true,
"domainPattern" : ".*alfafile.net",
"maxSimultanDownloads" : 5,
"allowToExceedTheGlobalLimit" : true
}
]

[
{
"pluginPattern": ".*alfafile.net",
"enabled" : true,
"domainPattern" : ".*premium.rpnet.biz",
"maxSimultanDownloads" : 5,
"allowToExceedTheGlobalLimit" : true
}
]

[
{
"pluginPattern": ".*alfafile.net",
"enabled" : true,
"domainPattern" : ".*alfafile.net",
"maxSimultanDownloads" : 5,
"allowToExceedTheGlobalLimit" : true
}
]

[
{
"pluginPattern": ".*premium.rpnet.biz",
"enabled" : true,
"domainPattern" : ".*premium.rpnet.biz",
"maxSimultanDownloads" : 5,
"allowToExceedTheGlobalLimit" : true
}
]
Reply With Quote
  #16  
Old 21.09.2017, 02:49
RPNet-user RPNet-user is offline
JD Beta
 
Join Date: Apr 2017
Posts: 56
Default

anything?
Reply With Quote
  #17  
Old 27.09.2017, 18:17
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 48,395
Default

Feedback?

GreeZ psp
__________________

Ad-free installers || Werbefreie Installer
Windows Setup<--JD2 BETA-->Linux Setup x86 || Linux Setup x64 || Mac Setup
-----=>Support Chat<=-----
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #18  
Old 27.09.2017, 18:19
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 63,353
Default

I will check as soon as I find time
__________________
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:43.
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 - 2019, Jelsoft Enterprises Ltd.