JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 02.10.2021, 08:14
loner0102 loner0102 is offline
Vacuum Cleaner
 
Join Date: Apr 2018
Posts: 17
Default Packagizer rule not setting download folder correctly

I may be misunderstanding the Packagizer rules syntax. My default download directory is D:\Downloads\Move. I want to send all Mega download to a subfolder D:\Downloads\Move\Mega, so I've set up a rule as shown in the first screenshot (Rule Settings.jpg). I've run the test option at the bottom of the rule setup with the url **External links are only visible to Support Staff****External links are only visible to Support Staff** and you can see the rule says it matches and shows it applying the correct download path.

However, when I then go and copy that Mega url again for the Link Grabber to capture it, as shown in the second screenshot (Link Grabber.jpg), it still wants to download to the default folder. This link capture was done after the rule was created (it wasn't something already in the Link Grabber). I've even shut down and restarted JDownlader but the rule still isn't applying.

Do I need to "Apply" the rule changes or something? I don't see a button for that.
Attached Thumbnails
Rule Settings.jpg   Link Grabber.jpg  
Reply With Quote
  #2  
Old 04.10.2021, 15:18
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 72,722
Default

@loner0102: Packagizer rules are applied from top to bottom.
1.) Your rule is in middle position and after it follows the predefined "Subfolder" rule that also changes the "download directory" property and thus overwrites the changes by your rule
2.) you can use downloadurl - contains - mega.co.nz
3.) in case you want custom folder AND subfolder rule, then you have to disable the predefined "Subfolder" rule and create custom one with, eg clone existing and change to
Quote:
<jd:append><jd:packagename>
as set downloaddirectory
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 05.10.2021, 02:40
loner0102 loner0102 is offline
Vacuum Cleaner
 
Join Date: Apr 2018
Posts: 17
Default

Ahh right, makes sense, thanks.

I was confused because I assumed in the priority column, the lower numbers implied higher priority and they override lower priority rules. It might be worth adding to the description that all rules are applied from top to bottom.

Last edited by loner0102; 05.10.2021 at 02:44.
Reply With Quote
  #4  
Old 05.10.2021, 10:34
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 72,722
Default

@loner0102: you read lower numbers as higher priority? so 0 is higher than 1 and so on?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 06.10.2021, 08:40
loner0102 loner0102 is offline
Vacuum Cleaner
 
Join Date: Apr 2018
Posts: 17
Default

Yes. Maybe it's a regional thing. Certainly in English speaking countries and former British colonies, saying something is "Priority 1" is an idiom for highest priority (Priority 0 isn't used).

I would have assumed that's universal as that's the default in bug tracking and project management software like Jira, "1" is highest priority.
Reply With Quote
  #6  
Old 06.10.2021, 09:20
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 72,722
Default

@loner0102: Thanks for the feedback funny how ppl have different views on such basic things

I will think about a solution so there are no more missunderstandings
__________________
JD-Dev & Server-Admin
Reply With Quote
  #7  
Old 07.10.2021, 12:24
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,374
Default

only in computing where 0 is first ;p
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #8  
Old 07.10.2021, 12:30
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 59,285
Default

Quote:
Originally Posted by raztoki View Post
only in computing where 0 is first ;p
I've commented that in the ticket too.
Though I must admin I only saw it after a few years that the packagizer list IDs actually user-visibly starts with 0...so far, no one has complained
__________________
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
  #9  
Old 09.10.2021, 05:20
loner0102 loner0102 is offline
Vacuum Cleaner
 
Join Date: Apr 2018
Posts: 17
Default

I think the word "Order" rather than "Priority" would be more appropriate for that column. Then there would be no ambiguity about how the rules are applied and the numerical order would make sense.
Reply With Quote
  #10  
Old 11.10.2021, 19:06
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 72,722
Default

@loner0102: will be changed to "Order" with next update
__________________
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 09:07.
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.