JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 19.06.2021, 12:59
dvmoo dvmoo is offline
DSL Light User
 
Join Date: Feb 2020
Posts: 31
Default fshare.vn Can not limit to download only 1 file at a time, despite limit is set to 1

Hi all,

I try to search in forum but it does not seems to have this issue:

On JD2 (latest version updated today), the setting is:
Max Chunks/dl = 1
Max sim.dl = 1
Max sim.dl per hoster = 1
then start the package or by selecting a set of files to start download.
Problem: it does not start 1 file at a time, but 4-6 files at a time (with the same hoster)

Background: a list of files from 1 hoster was added to a package. That hoster limites simultanous downloading. Starting manually 1 file at a time, let it completed, then the 2nd, is not a problem. Start 1 file, then once it started, start the 2nd, and so on, upto 4 files, downloading simultanously (but not starting at the same timing), this works also with this hoster. But when more, the hoster responds with a message "too much simultanous downloads", then STOPS all current and later downloads. This happens always if starting the package.
The (wished) intention is to start the package, but it should download 1 file at a time, until the end of the package.

Is that a bug or a wrong setting?

An old thread 65833 shows a way in advanced setting, but not clear to me though.

Thanks to any help!
Reply With Quote
  #2  
Old 19.06.2021, 13:14
dvmoo dvmoo is offline
DSL Light User
 
Join Date: Feb 2020
Posts: 31
Default

By the way, the setting GeneralSettings: Domain Rules (from thread 65833) seems to allow only "reset" but no "edit" (?)
Reply With Quote
  #3  
Old 19.06.2021, 16:30
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,341
Default

The domain rules in advanced settings are required only when you want to override the global limit for specific hosters. They can be added/modified by clicking the 'value' field.

These limits will be applied only when downloads are started from the toolbar button. Using 'Force Download' on select links/packages will override those limits. A separate advanced setting is available to limit the max. forced downloads, the default value for which is 5:
Code:
GeneralSettings.maxforceddownloads
Reply With Quote
  #4  
Old 20.06.2021, 09:43
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 72,711
Default

When no downloads are running and you use the rightclick menu to start the downloads, then you will use*force downloads* mode which
1.) only starts the selected downloads
2.) ignores limits as much as possible

Please just use the normal start/play button to start downloads in *normal mode*. You can use order/move links/packages, enabled/disabled state or priorities to influence what to download next
__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 20.06.2021, 09:46
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 72,711
Default

What host are you downloading from? Those limits like *only allows 1 concurrent downloads" should be set/fixed in the plugin. Please provide example links, then we can check/update limits set in plugin
__________________
JD-Dev & Server-Admin
Reply With Quote
  #6  
Old 20.06.2021, 15:17
dvmoo dvmoo is offline
DSL Light User
 
Join Date: Feb 2020
Posts: 31
Default

Many thanks to Jiaz and mgpai, very appreciate for rapid answer too.

I understand now that right click to start a package will overide the global setting and will behave differently than the start button (Ctrl-S), as that one was to start all packages (I have some packages but kept as "interesting links", similar to bookmarks, not to download (immediatly) unless needed).

So your trick is either to set a highest priority on the package we want to load, then start from the toolbar's button, then later to stop manually before it reach other packages; or to disable temporary unwanted packages.

A strange thing is: if starting from Start button, disabled items will be ignored, which is fine. But right click to start manually the package, then disabled items in the package will be swiched automatically to enable, then will be downloaded! So this is that overriding mode then.

Thanks mgpai: GeneralSettings.maxforceddownloads works well for what I am using, setting it to 1 and it works. However, it will apply to ALL hosters, meaning only 1 hoster at a time (for what I need currently it is fine too but might be interesting to limit per hoster).

Thanks Jiaz, pluggin "fs.." does not give any possibility to customize anything though.

Anyway, thanks for all, for the moment I can use such solutions.
Reply With Quote
  #7  
Old 20.06.2021, 16:32
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,341
Default

Quote:
Originally Posted by dvmoo View Post
So your trick is either to set a highest priority on the package we want to load, then start from the toolbar's button, then later to stop manually before it reach other packages; or to disable temporary unwanted packages.
You can also set 'stopmark' (using context menu) on links or packages.
Reply With Quote
  #8  
Old 20.06.2021, 18:03
dvmoo dvmoo is offline
DSL Light User
 
Join Date: Feb 2020
Posts: 31
Default

Quote:
Originally Posted by mgpai View Post
You can also set 'stopmark' (using context menu) on links or packages.
Oh, true, nice tips, thanks
Reply With Quote
  #9  
Old 20.06.2021, 20:10
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 72,711
Default

@dvmoo: When you start downloads via play/start button, you start the normal download mode in which JDownloader honors your downloads/hoster.. limits.
You can can use rightclick menu to force downloads, and those forced downloads try to ignore certain download/hoster...limits. Force = try to download those files as fast/soon as possible
When no downloads are running and you start downloads via rightclick context menu, then this is directly start links in forced mode. JDownloader will only download the selected link(s)/package(s). It's basically the same as as hit start/play button and very fast rightclick force downloads.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #10  
Old 20.06.2021, 20:13
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 72,711
Default

Quote:
Originally Posted by dvmoo View Post
A strange thing is: if starting from Start button, disabled items will be ignored, which is fine. But right click to start manually the package, then disabled items in the package will be swiched automatically to enable, then will be downloaded! So this is that overriding mode then.
Yes, by force a download you basically tell JDownloader to download the file.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #11  
Old 20.06.2021, 20:14
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 72,711
Default

So you need a force/start download action that sill honors your max downloads/max downloads per hoster, right?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #12  
Old 20.06.2021, 23:20
dvmoo dvmoo is offline
DSL Light User
 
Join Date: Feb 2020
Posts: 31
Default

Thanks Jiaz, basically, I never use the Start button indeed, because I used to have some packages, but as mentioned, just keeping as bookmark to ... think later, if it vaults a download, especially for youtube for instance. A scenario for disabled item is an example with youtube, where it will propose the highest resolution. But since it is an education video, or a report, or talk... I really do not need the highest resolution. But, to keep trace that I have and won't add that link again, I add a youtube variant, let say 480, then instead of deleting the highest resolution, I disable it but add to the list. This way, when later, by misleading, I add again such link, JD2 will tell me that this link was added then.

This is to say that I do not need to start all packages, therefore never use the Start button, and also have many disabled items

Usually, I group by topic or by hoster, i.e youtube, fs..., etc.. With youtube, downloading more than 1 files at a time is fine, with such as fs it is not possible. Therefore, a setting of GeneralSettings.maxforceddownloads = 1 will make all other hosters to wait for a hoster to complete, which is also not optimal, although for my current use, it is fine for the moment. What I do now is to set GeneralSettings.maxforceddownloads to 1 when I need it, when I have finished it, I set GeneralSettings.maxforceddownloads back to 5. But I will test the solution of priority + stopmark, it sounds good as well.

Thanks for all
Reply With Quote
  #13  
Old 21.06.2021, 04:33
tony2long's Avatar
tony2long tony2long is online now
English Supporter
 
Join Date: Jun 2009
Posts: 6,453
Default

@dvmoo,
If fs (don't know what it is) has dedicated plugin, that plugin can be updated to download only 1 at a time.
__________________
FAQ: How to upload a Log
Reply With Quote
  #14  
Old 21.06.2021, 10:11
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 72,711
Default

what does fs stand for? if there is a plugin for it, we can update its default values so you don't have to mess with settings for yourself.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #15  
Old 21.06.2021, 15:24
dvmoo dvmoo is offline
DSL Light User
 
Join Date: Feb 2020
Posts: 31
Default

Quote:
Originally Posted by Jiaz View Post
what does fs stand for? if there is a plugin for it, we can update its default values so you don't have to mess with settings for yourself.
Oh sorry, I used to type shortly for it, as there is only one fs* in the list of plugins, fshare
Reply With Quote
  #16  
Old 22.06.2021, 01:30
dvmoo dvmoo is offline
DSL Light User
 
Join Date: Feb 2020
Posts: 31
Default

By the way, I have just made another test with GeneralSettings.maxforceddownloads to 1, then, using forced Start from context menu, on files (neither on package, nor on Start button):

a) Max sim.dl = 1, Max.sim.dl per hoster = 1, then 1 file at a time is downloading, despite others are in the queue.
b) Max sim.dl = 6, Max.sim.dl per hoster = 6, then 6 files at a time (same hoster) are still possible, with condition (probably) that they are not starting at the same time, because they are starting manually one per one at the 1st step. (Why now GeneralSettings.maxforceddownloads = 1 does not limit this "forced start" mode to 1?)

This to say that the pluggin might accept upto 6 parallel downloads, providing they are not started exactly at the same time: what could cause its refusal was that more than 1 starting at the same time. It might not recognize parallel downloads once started though, although there seems that download speed is then divided per number of simultanous downloads.

So the solution for my case is:
- GeneralSettings.maxforceddownloads = 1
- Max sim.dl and Max.sim.dl = 1 (or 2, to save time, upto 4, but not really necessaire to have many parallel downloads if speed is reduced/divided).
- First start on a file (neither on a package nor Start button), then the next one only once the 1st one is started
- Then the rest to the queue.

Thanks for your help in willing to adapt the pluggin, but this could take your time, I still can use the current solution so. Also, I don't know if it is good for other users if modified, unless it is customizable in this pluggin for this dimension (number of simultanous downloads).

Thanks again for all.

Edit: Still not working with "my" solution above, still get "Too many download sessions" error with setting to 3 simultanous. It had worked for about 6,7 files then error. So come back to solution 1 only each time.

Last edited by dvmoo; 22.06.2021 at 01:35. Reason: Get "too many download sessions" error with the solution.
Reply With Quote
  #17  
Old 22.06.2021, 10:20
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 72,711
Default

@dvmoo: We still don't know what plugin/hoster you are talking about. Still no examples given! We need to know so we can check/update the defaults in plugin!
Of course it's better to update plugin so everyone will have a working plugin
Please create a log, see https://support.jdownloader.org/Know...d-session-logs and post shown logID here
__________________
JD-Dev & Server-Admin
Reply With Quote
  #18  
Old 22.06.2021, 12:25
dvmoo dvmoo is offline
DSL Light User
 
Join Date: Feb 2020
Posts: 31
Default

Quote:
Originally Posted by Jiaz View Post
@dvmoo: plugin!
Oh sorry, fshare.vn
Reply With Quote
  #19  
Old 22.06.2021, 13:03
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 72,711
Default

Quote:
Originally Posted by Jiaz View Post
@dvmoo:
Please create a log, see https://support.jdownloader.org/Know...d-session-logs and post shown logID here
a log please
__________________
JD-Dev & Server-Admin
Reply With Quote
  #20  
Old 22.06.2021, 16:40
dvmoo dvmoo is offline
DSL Light User
 
Join Date: Feb 2020
Posts: 31
Default

Quote:
Originally Posted by Jiaz View Post
a log please
Thanks. I try this noon again, resetting GeneralSettings.maxforceddownloads to its default 5, and let the other settings as normal (no limit). it seems that the pluggin is afraid of you :D, so it works well

Then I left the session for being away, return back and continue the test, the message "Too many download sessions" appears again:

22.06.21 16.25.22 <--> 22.06.21 16.18.15 jdlog://3483825302851/

In that log, you would see 2 sessions, the one at noon time was fine, the one from 16:25 has error, both cases were started with context menu on files then the packages were then added to the queue.

Thanks.
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:17.
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 - 2021, Jelsoft Enterprises Ltd.