JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 31.05.2022, 23:25
animus animus is offline
Ultra Loader
 
Join Date: Jan 2010
Posts: 48
Default packagizer problem 2 rules contradicting each other.help needed

hi

i have 2 packagizer rules (possibly more) contradicting each other

i will explain

first rule - TV

filename contains -> (.*?)\.?s\d+e\d+.*
than
set the package name->TV - <jd:simpledate:dd.MM.yyyy>
set the directory ->D:\Media\TV


found this on the forum basicly possibly not working for all off them but gave me positive results


Second rule - Movies

filename contains -> .*(rmteam|psa|).*
than
set the package name->Movies
set the directory ->D:\Media\Movies


Also i must mention second rule is lower in the order of packagizer rules if there is a hierarchy and regular expressions are enabled in both

So i if i tried to download a file named
it sorts it out to 2nd rule and set the package name to movies and the directory.

is there a way to do this?

Last edited by Jiaz; 01.06.2022 at 16:05.
Reply With Quote
  #2  
Old 01.06.2022, 15:25
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

@animus: rules are processed from top to bottom, so in your case I would simply move your first rule (TV) below your second rule (Movies).
there is also a typo in your second rule
Quote:
filename contains -> .*(rmteam|psa|).*
must be
filename contains -> .*(rmteam|psa).*
(see the removed |)
or do you mean something else?
__________________
JD-Dev & Server-Admin

Last edited by Jiaz; 01.06.2022 at 16:33.
Reply With Quote
  #3  
Old 02.06.2022, 19:10
animus animus is offline
Ultra Loader
 
Join Date: Jan 2010
Posts: 48
Default

yeah i fixed it my self after opened the thread thank you

and yes its basicly hierarchy but in reverse.if i get it rigt jd checks the rules from top to down.so if it will checks and finds it matches the rules 1 and 4 it makes both of them thus changes to rule 1 settings and changes it again to rule 4 settings
Reply With Quote
  #4  
Old 02.06.2022, 19:12
animus animus is offline
Ultra Loader
 
Join Date: Jan 2010
Posts: 48
Default

yes thank you i found it out few minutes after i opened the thread
Reply With Quote
  #5  
Old 02.06.2022, 19:14
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

@animus: Thanks for the feedback. Great to hear that you could solve it by yourself! In case you need further help, just let us know
__________________
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 19:51.
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.