JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 08.01.2021, 06:47
tlckfeks tlckfeks is offline
JD Alpha
 
Join Date: May 2020
Location: Atlantis
Posts: 21
Default Subfolder name of we.tl

When I download the link of we.tl using jd2, I generally set the value of "LinkgrabberSettings: Subfolder Threshold" to 1 in the settings of jd2.

This is because I prefer to download the file without creating a folder if there is only one file in the download link.

Recently I found something uncomfortable while downloading the link from we.tl.
Please refer to the sample link and image below.
Link : **External links are only visible to Support Staff****External links are only visible to Support Staff**

If the value of "LinkgrabberSettings: Subfolder Threshold" is 0, the parent folder is created when I download the above link. This makes it easier for the user to identify the path.



However, if the value of "LinkgrabberSettings: Subfolder Threshold" is 1, a single file and a subfolder are separated without the parent folder.



Suppose I download several links below at once.
Link :
**External links are only visible to Support Staff****External links are only visible to Support Staff**
**External links are only visible to Support Staff****External links are only visible to Support Staff**
**External links are only visible to Support Staff****External links are only visible to Support Staff**
**External links are only visible to Support Staff****External links are only visible to Support Staff**


In this case, the files and folders get mixed up, making it difficult for me to check which link was downloaded.



In conclusion, like the image below, I want to apply the name of the downloaded folder as the address of the link.


Is there an option I can apply in jd2's settings to make it?

Thank you
Reply With Quote
  #2  
Old 08.01.2021, 16:24
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 59,285
Default

I'm not 100% sure but I think I was able to understand what you mean:
In the case of wetransfer there is no "root folder name" given which means if you add different URLs, all files that are not in a separate root folder might end up mixed with totally different files.

That can be considered as a bug but of course also bad usability of wetranswer.

Anyways - I've corrected this by using your mentioned "shortID" as the root folder.
Essentially this means after the next update, you will get a similar structure in JD as if you were to download the .zip from wetransfer and extract it via "extract to subfolder".

So after the update, it will be like this:
we.tl/t-Ri2VDwUGfc
-->
[YourBasePath]/t-Ri2VDwUGfc/FILE 3.txt
[YourBasePath]/t-Ri2VDwUGfc/2 Files/FILE 1.txt
[YourBasePath]/t-Ri2VDwUGfc/2 Files/FILE 2.txt

Wartest du auf einen angekündigten Bugfix oder ein neues Feature?
Updates werden nicht immer sofort bereitgestellt!
Bitte lies unser Update FAQ! | Please read our Update FAQ!

---
Are you waiting for recently announced changes to get released?
Updates to not necessarily get released immediately!
Bitte lies unser Update FAQ! | Please read our Update FAQ!


-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
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?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #3  
Old 08.01.2021, 17:55
tlckfeks tlckfeks is offline
JD Alpha
 
Join Date: May 2020
Location: Atlantis
Posts: 21
Default

That's right! That's what I wanted.
I will wait for the next update! Thank you all the time!
Reply With Quote
  #4  
Old 08.01.2021, 18:11
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 59,285
Default

Thanks for your feedback.

I'am unsure whether or not we ill release the next CORE-updates before next week so you might have to wait some days more.

Until then - stay safe & healthy!

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
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?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #5  
Old 08.01.2021, 19:12
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 59,285
Default

Update is live!
__________________
JD Supporter, Plugin Dev. & Community Manager
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?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #6  
Old 08.01.2021, 22:08
tlckfeks tlckfeks is offline
JD Alpha
 
Join Date: May 2020
Location: Atlantis
Posts: 21
Default

I just completed the update and verified that the plugin works normally.
Sorry to bother you But I have one question.
Before updating jd2, if the value of "LinkgrabberSettings: Subfolder Threshold" is 1
and the link of we.tl contains only a single file, jd2 could automatically download a single file without creating a "short id" folder.
Is this option currently unavailable on we.tl?

t-Ri2VDwUGfx link has 3 files, so I think it is correct that all files must exist under a folder with a short-id name.
However, because t-oz9qW0SmA4 link has only a single file, it would be better to place it in the root folder when I apply the setting of ["LinkgrabberSettings: Subfolder Threshold" is 1].

Please refer to the image below.

Last edited by tlckfeks; 09.01.2021 at 04:27.
Reply With Quote
  #7  
Old 09.01.2021, 14:08
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 59,285
Default

Hi again,

that setting is not related to this behavior - that setting only affects "Subfolder by packagename" which is a totally different feature.

There is no setting for that you want - you will have to wait for Jiaz' answer or we'd have to hardcode it into the wetransfer plugin or your could adjust it viaan EventScripter Script.

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
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?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #8  
Old 10.01.2021, 04:07
tlckfeks tlckfeks is offline
JD Alpha
 
Join Date: May 2020
Location: Atlantis
Posts: 21
Default

Thank you for your kind support!
I don't know much about programming,
I confirmed that the page below is the same as the request I want.
https://board.jdownloader.org/showthread.php?t=68587
I'll wait for developer feedback.
Reply With Quote
  #9  
Old 11.01.2021, 14:51
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 59,285
Default

I'd like to solve this without changing the wetransfer plugin once again so you'll have to wait until Jiaz finds time to check this.
Changing it in the plugin would still mean that files of multiple wetransfer URLs could get mixed up in one folder -> We want to avoid this usually

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
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?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
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 02:08.
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.