JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 11.11.2017, 19:39
leanhdung leanhdung is offline
Ultra Loader
 
Join Date: Aug 2017
Location: Vietnam
Posts: 48
Default How to AUTO CONFIRM for each link in a link container?

From my experience, AUTO CONFIRM only work after all links in the link container are added by LINKGRABBER.

My link container has 100.000 links, so LINKGRABBER takes a huge amount of time to process all 100.000 links.

It would be more efficient if AUTO CONFIRM work for EVERY link added (as a result, every link is transfered immediately into download list and no more exits in LINKGRABBER), not just after 100.000 links added.

My question is: how can we set AUTO CONFIRM work for EACH link that is just processed by LINKGRABBER?

Many thanks

Last edited by leanhdung; 11.11.2017 at 20:10.
Reply With Quote
  #2  
Old 13.11.2017, 13:45
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

You can try to lower Settings-Advanced Settings-
LinkgrabberSettings.autoconfirmdelay
Value is in milliseconds

By default JDownloader waits 15 secs after last events in Linkgrabber
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 13.11.2017, 15:56
leanhdung leanhdung is offline
Ultra Loader
 
Join Date: Aug 2017
Location: Vietnam
Posts: 48
Default

Quote:
Originally Posted by Jiaz View Post
You can try to lower Settings-Advanced Settings-
LinkgrabberSettings.autoconfirmdelay
Value is in milliseconds

By default JDownloader waits 15 secs after last events in Linkgrabber
I tried, but no avail.

In my case,

I load an file .txt that contains 100.000 links!

Then, only after LinkGrabber finishes analyzing all 100.000 links, it sends 100.000 links to download list. LinkGrabber don't send each processed link, but wait until all 100.000 links in container are processed.
Reply With Quote
  #4  
Old 13.11.2017, 15:58
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

Please provide example txt file to support@jdownloader.org
You can shorten it if you want
__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 13.11.2017, 15:59
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

Did you restart JDownloader after changing the value?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #6  
Old 13.11.2017, 16:14
leanhdung leanhdung is offline
Ultra Loader
 
Join Date: Aug 2017
Location: Vietnam
Posts: 48
Default

Quote:
Originally Posted by Jiaz View Post
Did you restart JDownloader after changing the value?
Yes, I did so (for changes to take effect)!

Why don't you create an offline installer package for JD2, web installer takes place so long (just 11kb/s)
Reply With Quote
  #7  
Old 13.11.2017, 16:25
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

Please provide example .txt files to provided email.

The webinstaller downloads the newest version that is available. We release several updates a day.An offline installer from today morning would already be 8 changes old.

11 kb/s sound very slow. What is your connection speed and where do you come from?

Also why do you download it again? There is no need to download/install again
__________________
JD-Dev & Server-Admin
Reply With Quote
  #8  
Old 13.11.2017, 16:27
leanhdung leanhdung is offline
Ultra Loader
 
Join Date: Aug 2017
Location: Vietnam
Posts: 48
Default

Quote:
Originally Posted by Jiaz View Post
Please provide example .txt files to provided email.

The webinstaller downloads the newest version that is available. We release several updates a day.An offline installer from today morning would already be 8 changes old.

11 kb/s sound very slow. What is your connection speed and where do you come from?

Also why do you download it again? There is no need to download/install again
Many thanks, i send a sample to that email address now!

I'm from Vietnam! My normal download speed from Google Drive is 4MB/s.
Reply With Quote
  #9  
Old 13.11.2017, 16:31
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

Waiting for your e-mail. Thanks for the info. I will provide you a testlink for speed tests to our servers.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #10  
Old 13.11.2017, 16:47
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

Thanks for the email
With next core update a new setting will be available
Settings-Advanced Settings-LinkgrabberSettings.autoconfirmmaxdelay
set it to 1000
and set LinkgrabberSettings.autoconfirmdelay to something between 1 and 1000
and JDownloader will at least every 1 sec process the autoconfirm
__________________
JD-Dev & Server-Admin
Reply With Quote
  #11  
Old 13.11.2017, 16:55
leanhdung leanhdung is offline
Ultra Loader
 
Join Date: Aug 2017
Location: Vietnam
Posts: 48
Default

Quote:
Originally Posted by Jiaz View Post
Thanks for the email
With next core update a new setting will be available
Settings-Advanced Settings-LinkgrabberSettings.autoconfirmmaxdelay
set it to 1000
and set LinkgrabberSettings.autoconfirmdelay to something between 1 and 1000
and JDownloader will at least every 1 sec process the autoconfirm
So, the existing JD2 can not transfer each analyzed link, but it must wait until LinkGrabber analyze all 100.000 links in link container?
Reply With Quote
  #12  
Old 13.11.2017, 16:57
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

The current implementation has a minimum wait but no maximum wait and also waits for current job to be processed so you have change to interact before auto confirm.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #13  
Old 13.11.2017, 16:59
leanhdung leanhdung is offline
Ultra Loader
 
Join Date: Aug 2017
Location: Vietnam
Posts: 48
Default

Quote:
Originally Posted by Jiaz View Post
The current implementation has a minimum wait but no maximum wait and also waits for current job to be processed so you have change to interact before auto confirm.
I don't understand "..so you have change to interact before auto confirm."

Please elaborate more
Reply With Quote
  #14  
Old 13.11.2017, 17:04
leanhdung leanhdung is offline
Ultra Loader
 
Join Date: Aug 2017
Location: Vietnam
Posts: 48
Default

Many thanks for your fast response!

Just for my curiosity, is JD2 developer your full-time job?
Reply With Quote
  #15  
Old 13.11.2017, 17:06
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

Quote:
Originally Posted by leanhdung View Post
I don't understand "..so you have change to interact before auto confirm."

Please elaborate more
No. Imagine you have auto confirm delay to 15 secs. Now you've added a link and want to customize(rename, move, delete...) So whenever you do something with list, the auto confirm timer will stop because you work on list.
So the timer starts and waits for delay that you do nothing and then autoconfirm.

I've just released an update with new setting, so you can change the upper delay limit. So now you can tell JDownloader to wait at least x and max y before auto confirm
__________________
JD-Dev & Server-Admin
Reply With Quote
  #16  
Old 13.11.2017, 17:06
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

Quote:
Originally Posted by leanhdung View Post
Many thanks for your fast response!

Just for my curiosity, is JD2 developer your full-time job?
yes
__________________
JD-Dev & Server-Admin
Reply With Quote
  #17  
Old 13.11.2017, 17:08
leanhdung leanhdung is offline
Ultra Loader
 
Join Date: Aug 2017
Location: Vietnam
Posts: 48
Default

Quote:
Originally Posted by Jiaz View Post
yes
Best wish for you bro!

you are everywhere in our forum
Reply With Quote
  #18  
Old 13.11.2017, 17:10
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

Our forum ?!
__________________
JD-Dev & Server-Admin
Reply With Quote
  #19  
Old 13.11.2017, 17:11
leanhdung leanhdung is offline
Ultra Loader
 
Join Date: Aug 2017
Location: Vietnam
Posts: 48
Default

Quote:
Originally Posted by Jiaz View Post
Our forum ?!
I mean "https://board.jdownloader.org"
Reply With Quote
  #20  
Old 13.11.2017, 17:15
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

Ah :p
__________________
JD-Dev & Server-Admin
Reply With Quote
  #21  
Old 13.11.2017, 18:18
leanhdung leanhdung is offline
Ultra Loader
 
Join Date: Aug 2017
Location: Vietnam
Posts: 48
Default

The new function works very well, but one problem emerges: my link container has 20.000 links.

I set Settings-Advanced Settings-LinkgrabberSettings.autoconfirmmaxdelay at 5(seconds). So each 5s, about 2000 links are transferred to Download List. As a result, all 20.000 links from my container are separated into 10 packages.

Is it possible to let JD2 know that all links in the same container should be placed under the same package in the download list?
Reply With Quote
  #22  
Old 13.11.2017, 19:19
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

I'm sorry but that is not possible at the moment. Whenever you move links from Linkgrabber to Downloadlist, it will be in a new package. But there is an open ticket for this
I will see if I find some time for it
__________________
JD-Dev & Server-Admin
Reply With Quote
  #23  
Old 13.11.2017, 19:24
leanhdung leanhdung is offline
Ultra Loader
 
Join Date: Aug 2017
Location: Vietnam
Posts: 48
Default

Quote:
Originally Posted by Jiaz View Post
I'm sorry but that is not possible at the moment. Whenever you move links from Linkgrabber to Downloadlist, it will be in a new package. But there is an open ticket for this
I will see if I find some time for it
:) I will wait for that great feature ^^
Reply With Quote
  #24  
Old 13.11.2017, 19:45
leanhdung leanhdung is offline
Ultra Loader
 
Join Date: Aug 2017
Location: Vietnam
Posts: 48
Default

When I download a file ABC.mkv with size 5GB, I set up 7 chunks per download.

I using IDM, I can set 7 chunks per download too. After complete downloading these 7 parts, IDM must spend time to COMBINING these parts into a complete file. The workload of COMBINING can take much time and RAM.

I'm very interested when i observed that JD2 can use 7 chunks per download. But in download directory, i only see ONE part (for the film above: ABC.mkv.part) for each download, and after data is downloaded completely, i IMMEDIATELY get the complete file

--> it seems to me that both JD2 and IDM separate the file into many parts and download these parts simultaneously, thus fastening the download process. BUT JD2 does NOT take time to combine these parts.

Is my understanding true?

Many thanks for your answer!
Reply With Quote
  #25  
Old 13.11.2017, 20:13
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

JDownloader stores the *chunk/split/region* information outside of the downloaded file and therefore can download directly into one file. I guess IDM uses filename to store region or has other reasons to split download file. I don't know.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #26  
Old 14.11.2017, 02:26
leanhdung leanhdung is offline
Ultra Loader
 
Join Date: Aug 2017
Location: Vietnam
Posts: 48
Default

Yeah, it's a great feature ^^
Reply With Quote
  #27  
Old 13.12.2021, 00:37
leanhdung leanhdung is offline
Ultra Loader
 
Join Date: Aug 2017
Location: Vietnam
Posts: 48
Default

Quote:
Originally Posted by Jiaz View Post
JDownloader stores the *chunk/split/region* information outside of the downloaded file and therefore can download directly into one file. I guess IDM uses filename to store region or has other reasons to split download file. I don't know.
Hi @Jiaz, it has been a long time since my last log in. Is the code for JDownloader stores the chunk/split/region information outside of the downloaded file and therefore can download directly into one file open source and can I use it for my personal project?
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 19:51.
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.