JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 11.09.2024, 21:44
Noodler128 Noodler128 is offline
Super Loader
 
Join Date: Nov 2023
Posts: 25
Default Limit # of Downloads Per Host

I dunno if this is already a thing (I didn't find it when I last looked not long ago), but it would be nice if I could limit the maximum number of downloads occurring per host so that I don't run afoul of any kinda host limitations while still being able to max out number of simultaneous downloads.

I realize I could (and have been) micromanage my downloads but it'd be cool if there was a global setting in the Settings menu, doesn't even need to be configurable, just a "limit to 1 download per host" setting that you can tick.

Last edited by Noodler128; 11.09.2024 at 21:48.
Reply With Quote
  #2  
Old 12.09.2024, 01:37
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,674
Default

you can define custom chunk values in package customiser rules based on host, and specific to type like image/archive/video etc.
and in advanced settings > domain rules, you can define max sim dl for that host. see https://support.jdownloader.org/en/k...e/domain-rules
max sim dl * chunks = total connections.

fyi, both of these option have been around for many years.
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]

Last edited by raztoki; 12.09.2024 at 01:41.
Reply With Quote
  #3  
Old 12.09.2024, 10:36
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 73,459
Default

@raztoki
Are you sure that custom chunk values can be set with domain rules.

I'm asking because I can't see it and there is still this ticket from 2015:
https://board.jdownloader.org/showthread.php?p=497341
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
  #4  
Old 13.09.2024, 16:23
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,674
Default

Still not possible under my understanding. having chunk values within package customer can be annoying but also more flexible as you can have different setting based on file type eg, images 1 and videos 4 for instance. or or even size >4gb <2gb

Only settings outside of that is like plugin settings I know which give outside chunk values for example yt, this is rare.
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #5  
Old 13.09.2024, 23:07
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,265
Default

@Noodler128: Are you talking about number of chunks/connections or downloads?
It is already possible to limit number of concurrent downloads per host.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #6  
Old 15.09.2024, 02:28
Noodler128 Noodler128 is offline
Super Loader
 
Join Date: Nov 2023
Posts: 25
Default

Number of downloads per host & number of connections per host. Hopefully what I say next will help clarify what I'm after.

I know you can limit the number of simultaneous downloads that JDownloader can perform, but am unsure of it being possible to have a secondary limit that applies per host without being required to specify a host. There isn't a intuitive UI for it, but it sounds like what Raztoki mentioned would be able to achieve the latter with this code:

[ {
"domainPattern" : ".+",
"enabled" : true,
"maxSimultanDownloads" : 1,
"allowToExceedTheGlobalLimit" : true
} ]

The above combined with setting the "Max. Simultaneous Downloads" item in the Settings menu to 100 should allow 100 simultaneous downloads if you're downloading from 100 different hosts, right? And no more than 1 download per host?
Reply With Quote
  #7  
Old 15.09.2024, 05:21
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,674
Default

Sorry The advice I gave I did assume that you wanted to define something specific to a host. You can define max sim per host globally already within graphical interface without the need for domain rules in a generic form like you've provided above. Either by right clicking on the speed graphic and selecting the 'max sim dl per host' setting, or via the bottom right hand corner spanner X screwdriver icon in the download tab, or in windows and linux? There is a main menu 'settings' (not available in mac). By default JD limits/defaults the max sim dl to 20 globally, so 100 wont work. You can override it with domain rules (referenced in that support article) though, keep in mind you can not override plugin defined upper limits yourself, so most likely have to be spread over multiple hosts/plugins to gain higher amount of concurrent downloads.

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

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #8  
Old 21.09.2024, 22:17
Noodler128 Noodler128 is offline
Super Loader
 
Join Date: Nov 2023
Posts: 25
Default

Turns out I am an idiot and what I want is in the "Settings > General > Download Management" section, assuming it wasn't added in an update after this topic was created. And the menu bar too I guess, I dunno why I was glossing over it >:V

Last edited by Noodler128; 22.09.2024 at 08:57.
Reply With Quote
  #9  
Old 22.09.2024, 03:47
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,674
Default

well thats another way, but requires more steps . glad youre happy with the outcome.

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

Don't fight the system, use it to your advantage. :]
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 11:15.
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.