JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 30.04.2015, 10:44
animus animus is offline
Ultra Loader
 
Join Date: Jan 2010
Posts: 48
Default packagizer rules help

hi newbie here

i want to set a rule on packagizer to filter archives and some other extensions to not to extract (if possible change the extension of the file to .cbr or .cbz) and download to a specific folder.i cant figure out how to do it (not the folder part or not extrracting but the rest).

the rule would be file names includes characters like "( [ _". is it possible to do it in a single rule.using wildcard and using multiple criteria is just...:outch:....i cant figure out.

thanks for the help.:thumbup:
Reply With Quote
  #2  
Old 30.04.2015, 11:35
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,554
Default

Do Not Extract:
-Filename contains
^.*\.(cbr|cbz)$
Enable RegexCheckbox

ThenSet
-Enable Extract Archives
and choose Disabled

That should work for auto disable extraction.

Change Filename
-FileName
^(.*)\.cbr$
Enable RegexCheckbox

ThenSet
-Filename
<jd:orgfilename:1>.cbz (see rightclick for more placeholder)

For folder, what exactly you want to achieve?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 30.04.2015, 12:00
animus animus is offline
Ultra Loader
 
Join Date: Jan 2010
Posts: 48
Default

basicly i download mangas and doujins and most of them released in rar.i want to download them in a specific folder but not extracted and change the extension (if not cbr/cbz already).the problem is filtering them.they dont have anything common except those characters i mentioned.

jdownloader already doesnt extract cbr cbz extensions.if i can do it for the tv shows it would be great like "hdtv" and "web.dl"
Reply With Quote
  #4  
Old 30.04.2015, 12:14
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,554
Default

then use
-Filename
^.*\.rar$
ThenSet
-Directory
and specify where it should load to
__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 30.04.2015, 12:33
animus animus is offline
Ultra Loader
 
Join Date: Jan 2010
Posts: 48
Default

ok this will filter .rar files in the list which contains ( or [ and download them to the specific folder... right..... cause i dont see any of the characters i mentioned before.not to annoy you but these characters are in use in scripts so may cause a problem right....
i download other rar files that needs extracting...
Reply With Quote
  #6  
Old 30.04.2015, 13:04
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,554
Default

it would be better to give real example links and tell me what you want to happen
I just provided an example how to change folder depending on extension
__________________
JD-Dev & Server-Admin
Reply With Quote
  #7  
Old 30.04.2015, 14:47
animus animus is offline
Ultra Loader
 
Join Date: Jan 2010
Posts: 48
Default

yeah lets say file name not a link.

[RHS].Nisekoi.chapter.9.(entermangakanamehere).rar

and

[DatScans].Naruto.Bonus.01.(kakashi).rar

both are mangas and both will go to same folder.will not be extracted and the file extension will change to cbr.

i cant use just ".rar" extension because there will be rar files like

Deamontoolspro.rar (sofware )
tvshows01e02.rar (TV)
entermovienamehere.part1.rar (movies)

all these will go to diffirent folder/folders and gets extracted gets the trash files deleted etc etc.. all these can be filtered with keywords like "hdtv" "1080p" etc etc......

thanks for takin your time to answer my questions again.

Last edited by animus; 30.04.2015 at 15:14.
Reply With Quote
  #8  
Old 30.04.2015, 15:38
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,554
Default

-FileName
^\([RHS\].*)\.(cbr|rar)$
Enable RegexCheckbox

ThenSet
-Filename
<jd:orgfilename:1>.cbz
-Directory
set customized folder

this will rename all [RHS]*.rar|cbr to cbz extension and change folder

I hope this was what you are looking for
__________________
JD-Dev & Server-Admin
Reply With Quote
  #9  
Old 30.04.2015, 22:40
animus animus is offline
Ultra Loader
 
Join Date: Jan 2010
Posts: 48
Default

no but thank you.
what i am looking for is packagizer recognizing rar files that has "( [" on their file name
such as "[RHS] nisekoi.rar"

there is lot of mangas scanlators that uses this kind of naming sheme.they put the groups name in paranthesis in file name.the [RHS] is for red hawk scans for example. if jd could detect the paranthesis in the file name then it could work.(why you may ask why because i follow lots of manga and so there is lots of other scanlation groups.)
why am i asking for paranthesis is because i want to create a single rule that will work for all releases.all releases uses one of either [ or ( in the file name.examples given on previous post.

but i am guessing the charachters ( [ are used in scripting so there is no way to do this.thanks again.

Last edited by animus; 30.04.2015 at 22:43.
Reply With Quote
  #10  
Old 01.05.2015, 04:16
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,614
Default

you just need to escape them in regex patterns, as you can see in Jiaz examples all expected ( and [ in filename will have the sequence \[ \(
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #11  
Old 01.05.2015, 17:23
oEFLKQzikCqw oEFLKQzikCqw is offline
JD Legend
 
Join Date: Mar 2012
Posts: 1,779
Default

Quote:
Originally Posted by Jiaz View Post
-FileName
^\([RHS\].*)\.(cbr|rar)$
Enable RegexCheckbox

ThenSet
-Filename
<jd:orgfilename:1>.cbz
-Directory
set customized folder

this will rename all [RHS]*.rar|cbr to cbz extension and change folder

I hope this was what you are looking for
^(\[RHS\].*)\.(cbr|rar)$

or


^\[RHS\].*\.(cbr|rar)$
Reply With Quote
  #12  
Old 02.05.2015, 11:09
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,554
Default

@oEFLKQzikCqw
You need to escape the ( -> \(, else it is a capturing group
__________________
JD-Dev & Server-Admin
Reply With Quote
  #13  
Old 17.12.2015, 17:48
oEFLKQzikCqw oEFLKQzikCqw is offline
JD Legend
 
Join Date: Mar 2012
Posts: 1,779
Default

Das erkläre bitte mal genauer.
Reply With Quote
  #14  
Old 18.12.2015, 10:55
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,554
Default

Was bitte genauer?
(a) -> CaptureGroup auf a
\(a\) -> matched (a)
__________________
JD-Dev & Server-Admin
Reply With Quote
  #15  
Old 18.12.2015, 17:56
oEFLKQzikCqw oEFLKQzikCqw is offline
JD Legend
 
Join Date: Mar 2012
Posts: 1,779
Default

Aha, also genau wie von mir vermutet. Also waren meine Regex doch korrekt und deine nicht. Nicht die öffnende runde, sondern die öffnende eckige Klammer muss escapt werden. Hint: das Beispiel war [RHS].Nisekoi.chapter.9.(entermangakanamehere).rar
Reply With Quote
  #16  
Old 18.12.2015, 18:17
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,554
Default

Quote:
Originally Posted by animus View Post
no but thank you.
what i am looking for is packagizer recognizing rar files that has "( [" on their file name
Ich bezog mich auf das hier. Und das Regex muss somit "\( \[" sein.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #17  
Old 18.12.2015, 19:17
oEFLKQzikCqw oEFLKQzikCqw is offline
JD Legend
 
Join Date: Mar 2012
Posts: 1,779
Default

Der Inhalt deines Beitrags lässt aber einen anderen Bezug vermuten. Falsch geklickt oder Zitat vergessen?
Reply With Quote
  #18  
Old 19.12.2015, 09:24
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,554
Default

Joar, jetzt wo du es sagst, etwas aus dem Kontext gefallen. Sorry
__________________
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 04:06.
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.