JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 05.02.2018, 20:58
netgearjd netgearjd is offline
Giga Loader
 
Join Date: Aug 2014
Posts: 92
Default Subtract (Existing) File List Feature

Here's an example to illustrate what I'm looking for. Say I have 500 or so links in the LinkGrabber or Downloads list. However I already have 200 of those files downloaded previously. Now it's pointless and a sheer waste of time, power, bandwidth etc. to re-download those 200 files, and it's obviously not feasible to manually look through the 500 and remove the 200.

Now suppose I have a simple text file containing a list of all the files I already have (could be in any location and on any internal or external media, but the list contains only file names and not paths).

What I want is a Subtract File List feature where I can provide the file list to JD, and it will automatically mark (say with red or yellow background) all the links that match the names of files I already have. There should also be a new menu option (along with Delete Links: disabled/failed/finished/offline) i.e. Delete Links: duplicates, so that one can quickly and easily get rid of all the matching links after reviewing them.

The matching links can of course be directly removed from the LinkGrabber or Downloads list too, but highlighting them with a different color will enable users to review which ones they really want to delete. For example a link may exactly match the name of a pre-existing file, but the user may decide to download anyway because the files are different.
Reply With Quote
  #2  
Old 06.02.2018, 08:57
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 69,635
Default

I suggest to contact mgpai and ask him for help with this. This can be solved with a script for the eventscripter. Read file from disk with links/names and/or scan for existing files and compare to JDownloader list. See https://board.jdownloader.org/showthread.php?t=70525
I think there already is a similiar script for such a request, please check the linked thread and/or contact mgpai
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 07.02.2018, 17:07
netgearjd netgearjd is offline
Giga Loader
 
Join Date: Aug 2014
Posts: 92
Default

Well, I don't know how it makes sense to mark this as [Solved], but thanks Jiaz, I'll get in touch with mgpai as you recommended.
Reply With Quote
  #4  
Old 07.02.2018, 17:38
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 69,635
Default

I marked it as solved because I explained possible solution for this. If you are happy with me removing it as solved, I'm fine with that.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 07.02.2018, 17:39
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 69,635
Default

You should thank mgpai for his help he will help with eventscripter/write the script
__________________
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 23:24.
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.