JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 01.06.2021, 00:57
groinksan groinksan is offline
Wind Gust
 
Join Date: Dec 2018
Posts: 42
Default Already in downloadlist? Where?

I have literally hundreds of thousands of links in my "Downloads" list. I'm constantly processing sites for new links. I come across links already in my "Downloads" list, marked as "Already in downloadlist". I'd love to have a feature where I can right-click on the link in "LinkGrabber" and locate the duplicate link in "Downloads", instead of just telling me I already have the link.
Reply With Quote
  #2  
Old 01.06.2021, 12:50
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,232
Default


What exactly would your use case be? Can you explain, so we better understand the need and maybe can provide better feature
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 01.06.2021, 14:34
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,528
Default

Quote:
Originally Posted by groinksan View Post
I'd love to have a feature where I can right-click on the link in "LinkGrabber" and locate the duplicate link in "Downloads", instead of just telling me I already have the link.
You can use this workaround till the feature is implemented. Skip corresponding links in the download list using a script and enable quickfilter in bottom toolbar to view them.

Code:
/*
    Skip duplicate download links
    Trigger : Linkgrabber Contextmenu Button Pressed
*/

if (name == "Skip duplicate download links") {
    var urls = [];

    lgSelection.links.forEach(function(link) {
        try {
            urls.push(link.downloadLink.pluginURL);
        } catch (e) {}
    })

    if (urls.length) {
        getAllDownloadLinks().forEach(function(link) {
            if (urls.indexOf(link.pluginURL) > -1) {
                link.skipped = true;
            }
        })
    }
}

Alternatively you can disable them or add comment to identify them, but skipping is more convenient since they can be viewed/unskipped in bulk very easily.
Reply With Quote
  #4  
Old 01.06.2021, 15:24
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,232
Default

@mgpai: you could also set comment on linkgrabber and download list link and then use search to find the comment/link
__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 01.06.2021, 15:24
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,232
Default

Quote:
Originally Posted by mgpai View Post
Alternatively you can disable them or add comment to identify them, but skipping is more convenient since they can be viewed/unskipped in bulk very easily.
just realizing that you had the same idea
__________________
JD-Dev & Server-Admin
Reply With Quote
  #6  
Old 02.06.2021, 07:55
groinksan groinksan is offline
Wind Gust
 
Join Date: Dec 2018
Posts: 42
Default

Quote:
Originally Posted by Jiaz View Post

What exactly would your use case be? Can you explain, so we better understand the need and maybe can provide better feature
I frequently rip through web sites for links using linkgrabber, and then store/download the links in downloadlist. Right now I have about a million or so links stored. And many of the links refer to files that use a frequently used filename filenames, such as image.jpg or movie.zip, although despite the same filenames, every file is unique on a binary level.

Then later on in the future, I rip through a given web site, and JD detects that a link is already on my downloadlist. I could search for the filename in the downloadlist. But, when there are dozens or hundreds of links using the same filename, trying to determine the exact matched file in downloadlist is virtually impossible.

I'd like to find that matching file/link in downloadlist, and find out when I downloaded it, and where the file was stored at the time it was downloaded. Thinking about this feature in a GUI, it would be convenient to right-click on the matching link in linkgrabber to bring up the context menu, and then select something like "Find matching link in Downloads" which would then switch to the Downloads tab, and then highlight the matching link(s).
Reply With Quote
  #7  
Old 02.06.2021, 12:05
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,232
Default

@groinksan:
Thanks for the feedback!
"already in downloadlist" works ons on specific internal linkID(eg the unique fildID from URL) that is set by plugins or the actual download url, not on filename!
You should check out the scripts from mgpai for storing/managing such information outside JDownloader
__________________
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 07:04.
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.