#1
|
|||
|
|||
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. |
#2
|
||||
|
||||
@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:
__________________
JD-Dev & Server-Admin Last edited by Jiaz; 01.06.2022 at 16:33. |
#3
|
|||
|
|||
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 |
#4
|
|||
|
|||
yes thank you i found it out few minutes after i opened the thread
|
#5
|
||||
|
||||
@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 |
Thread Tools | |
Display Modes | |
|
|