JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 22.02.2020, 00:42
zreenmkr zreenmkr is offline
JD Addict
 
Join Date: Feb 2020
Posts: 174
Default Searchable in Packagizer

Hi, I have a bunch of rules expanding a few of pages long and like to constantly updating it and I'm wondering if there's a way to search for these rules without scrolling up and down looking for it? Similar search function in 'Downloads' and 'LinkGrabber' tabs.

Here are a few examples. I have Packagizer to match curtain group of words then save them to each corresponding folder.

<Condition Name> = _animals
if <File Name> contains (dogs|birds|bears) [x]RegExp
then <Download Directory> = D:\Download\__Animals
then <Package Name> = __Animals


<Condition Name> = _vegan food
if <File Name> contains (vegan food|Salad) [x]RegExp
then <Download Directory> = D:\Download\__Vegan
then <Package Name> = __Vegan


<Condition Name> = _meat
if <File Name> contains (bbq|chicken|pork) [x]RegExp
then <Download Directory> = D:\Download\__Meat
then <Package Name> = __Meat


<Condition Name> = _sports
if <File Name> contains (running|hiking|camping|biking) [x]RegExp
then <Download Directory> = D:\Download\__Sports
then <Package Name> = __Sports


let say I need to update one of the filters above and add 'cat' to it. I can either search for: animals or dogs then able to find the filter '<Condition Name> = _animals ' above and edit it to add 'cats' to it.

Thanks
zeen

Last edited by zreenmkr; 22.02.2020 at 00:44.
Reply With Quote
  #2  
Old 22.02.2020, 01:12
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,611
Default

at this time, its not searchable. only way I can see this working would be editing the json file in 3rd party editor. only downside would be jd would need to closed in order todo this. and you are dealing with json file.
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #3  
Old 22.02.2020, 01:37
zreenmkr zreenmkr is offline
JD Addict
 
Join Date: Feb 2020
Posts: 174
Default

@raztoki

not familiar with json could you point me to that direction? I could mash up an external script to load json, edit, save then restart jd in one click. Thanks
Reply With Quote
  #4  
Old 22.02.2020, 02:15
zreenmkr zreenmkr is offline
JD Addict
 
Join Date: Feb 2020
Posts: 174
Default

found it 'org.jdownloader.controlling.packagizer.PackagizerSettings.rulelist.json'
Reply With Quote
  #5  
Old 22.02.2020, 05:28
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,611
Default

yeah thats it.
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
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 04:25.
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.