JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 06.06.2023, 13:06
TsekLee TsekLee is offline
Modem User
 
Join Date: May 2023
Posts: 4
Default Add download list with pre-set download locations (mega.nz folder structure)

Hello everyone, as the title says, is there a way to add a download list with pre-set download locations?
I will give an example of what i'm trying to achieve. This is a download list of mods from a game called Gp-Bikes:

All mod Database:
**External links are only visible to Support Staff****External links are only visible to Support Staff**

Helmet Database:
**External links are only visible to Support Staff****External links are only visible to Support Staff**

Track Database:
**External links are only visible to Support Staff****External links are only visible to Support Staff**

These need to be downloaded in different download locations, example for C:\program files(x86)/gpbikes/rider/helmets or C:\program files(x86)/gpbikes/rider/locations for the tracks database.

Is there a way to achieve this behaviour automatically and avoid manually adding it everytime?
Reply With Quote
  #2  
Old 06.06.2023, 13:13
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,044
Default

Hi,
JD should by default already use ther serverside cloud folder structure, if available.
See:
https://support.jdownloader.org/Know...lder-structure
--> Maybe your sole problem is that you got that feature disabled by mistake.

If you do mean this in a different way:
Yes it is possible: If you are always adding the same links to e.g. scan for new items, you could setup a Packagizer rule that does something like "if added link("sourceurl") contains xy then set download directory to xyz.
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || 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?
Reply With Quote
  #3  
Old 06.06.2023, 14:41
TsekLee TsekLee is offline
Modem User
 
Join Date: May 2023
Posts: 4
Default

Alright, it seems that i have done some progress. I have one more question though. I have tried to add part of the name of the download link at the "Sourceurl" box but what if i want to add multiple links?
I have tried to separate them using commas(,) put them in apostrophe('name') but still haven't managed to make it work.
Example: PartOfURL1, PartOfURL2 or 'PartOfURL1' 'PartOfURL2'
Is this possible or do i need to make a separate packagizer rule?
Reply With Quote
  #4  
Old 06.06.2023, 14:52
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,044
Default

Quote:
Originally Posted by TsekLee View Post
I have tried to add part of the name of the download link at the "Sourceurl" box but what if i want to add multiple links?
I'm sorry but I don't understand:
Every entry you can see in your linkgrabber/downloadlist has one sourceurl.
When that link was added as part of a folder/"container", all of them will usually have the same sourceurl (= URL of folder which contained those files).

Quote:
Originally Posted by TsekLee View Post
I have tried to separate them using commas(,) put them in apostrophe('name') but still haven't managed to make it work.
I still don't quite understand what you're trying to do.
Here is what I'd recommend to do to make me understand:
1. Upload one or multiple example folders to a mega.nz cloud.
Upload some files which can be shared public so we can publicly use those links for testing.
2. Add a precise description (with read life examples), which folder-URL is supposed to go into which folder.

Quote:
Originally Posted by TsekLee View Post
Is this possible or do i need to make a separate packagizer rule?
Without fully understanding the context, I can't answer that question.
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || 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?
Reply With Quote
  #5  
Old 06.06.2023, 15:36
TsekLee TsekLee is offline
Modem User
 
Join Date: May 2023
Posts: 4
Default

Ok, so here is the helmets database:
**External links are only visible to Support Staff****External links are only visible to Support Staff**a2wFiZya#ZvS2JKDeMplGf3r-VqeYIA

and the tracks database:
**External links are only visible to Support Staff****External links are only visible to Support Staff**EkUj0LxB#QTr7lzLpllCca2PW0-gUog

now these need to be put under:
C:\program files(x86)/gpbikes/rider/helmets
&
C:\program files(x86)/gpbikes/locations

now let's say for the sake of the argument the links come preconfigured with the appropriate structure folders. That means that i can make one packagizer rule being able to handle both URLs and point them out at the root of the folder.

So for example i want to add a packagizer rule that "ContainsURL" "a2wFiZya", "EkUj0LxB" and set "Download directory" as "C:\program files(x86)/gpbikes/"
Reply With Quote
  #6  
Old 06.06.2023, 15:47
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,044
Default

Here is an example rule which will modify the downlload path if a sourceurl contains one of those two IDs:
Screenshot:
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || 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?
Reply With Quote
  #7  
Old 06.06.2023, 16:11
TsekLee TsekLee is offline
Modem User
 
Join Date: May 2023
Posts: 4
Default

Awesome, worked flawlessly.
I want to report a small orthographic error i just happened to stumble upon though. When using "Test filter rules" the next window that opens states "Packigizez rule test" and not "Packagizer rule test".

Thank you very much.
Reply With Quote
  #8  
Old 06.06.2023, 16:16
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,044
Default

Thanks for your feedback.

I've also fixed that spelling mistake - thanks for reporting!

Bitte auf das nächste CORE-Update warten!

Please wait for the next CORE-Update!

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

Erste Schritte & Tutorials || 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?
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 05:09.
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.