#1
|
|||
|
|||
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: |
#2
|
||||
|
||||
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 |
#3
|
|||
|
|||
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" |
#4
|
||||
|
||||
then use
-Filename ^.*\.rar$ ThenSet -Directory and specify where it should load to
__________________
JD-Dev & Server-Admin |
#5
|
|||
|
|||
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... |
#6
|
||||
|
||||
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 |
#7
|
|||
|
|||
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. |
#8
|
||||
|
||||
-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 |
#9
|
|||
|
|||
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. |
#10
|
||||
|
||||
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. :] |
#11
|
|||
|
|||
Quote:
or ^\[RHS\].*\.(cbr|rar)$ |
#12
|
||||
|
||||
@oEFLKQzikCqw
You need to escape the ( -> \(, else it is a capturing group
__________________
JD-Dev & Server-Admin |
#13
|
|||
|
|||
Das erkläre bitte mal genauer.
|
#14
|
||||
|
||||
Was bitte genauer?
(a) -> CaptureGroup auf a \(a\) -> matched (a)
__________________
JD-Dev & Server-Admin |
#15
|
|||
|
|||
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
|
#16
|
||||
|
||||
Ich bezog mich auf das hier. Und das Regex muss somit "\( \[" sein.
__________________
JD-Dev & Server-Admin |
#18
|
||||
|
||||
Joar, jetzt wo du es sagst, etwas aus dem Kontext gefallen. Sorry
__________________
JD-Dev & Server-Admin |
Thread Tools | |
Display Modes | |
|
|