#1
|
|||
|
|||
Customizing Packagizer Rule
Hi. Is there any way to customize the predefined packagizer rule (or to create a custom one) for auto-creation of sub-folders? For example, I don't want a sub-folder to be created for everything...only for packages that contain a minimum number of files (say, 3 or more files).
Thanks! |
#2
|
||||
|
||||
No, package customiser rules do not work on package count. They only work on links that match rule. They have no feedback over existing package size.
raztoki
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#3
|
|||
|
|||
Thanks for the reply, raztoki.
Is there any way to write a custom rule for this, or, could this be something that could be implemented in a future release? Either way, I appreciate the help. Thanks! |
#4
|
||||
|
||||
at this stage, it wont be possible, because package customiser rules are applied before adding the link to linkgrabber tab. You could write a custom hack outside package customiser easier I would say, but I don't see Appwork or other supporters writing this ourselves.
raztoki
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#5
|
|||
|
|||
No worries. Thanks, again, raztoki.
|
#6
|
||||
|
||||
The other maybe easier solution if you know Javascript would be use the Eventscripter. I'm sure it be possible within that framework. Maybe mgpai will notice this thread and give some feedback.
raztoki
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#7
|
|||
|
|||
Unfortunately, no coding background. I could probably do it with an existing template to work with, but anything from scratch is not currently possible for me.
It's not a big deal, either way. The program is great, as-is, for sure. Thanks, again. |
#8
|
|||
|
|||
Minimum threshold to create subfolders and the option to count names or number of links for the same can be specified in Settings > Advanced Settings
LinkgrabberSettings: Subfolder Threshold LinkgrabberSettings: Subfolder Count |
#9
|
|||
|
|||
Great! It's working. Thanks a lot!
|
#10
|
||||
|
||||
Thanks to mgpai for pointing to those advanced settings
@GNIREENIGNE: thanks for the feedback!
__________________
JD-Dev & Server-Admin |
#11
|
||||
|
||||
hmm there you go I learnt something new ;l
I assume that only work on default rule? raztoki
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#12
|
||||
|
||||
that works on every subfolder rule, as this defines how the subfolder rule pattern is evaluated. we could also include it as additional option direclty into pattern if someone needs finer customization
__________________
JD-Dev & Server-Admin |
#13
|
||||
|
||||
ok.
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
|
|