#2241
|
||||
|
||||
![]() Quote:
It would make more sense in extracting the archive and then compress it again to multipart with max 900 mb parts
__________________
JD-Dev & Server-Admin |
#2242
|
|||
|
|||
![]() Quote:
|
#2243
|
||||
|
||||
![]()
@xefeg: why is 1gb too big? where do you upload too that does not accept/support larger files?
As I said, spliting the files without taking care of the whole archive will break manual/auto extraction of the whole archive.
__________________
JD-Dev & Server-Admin |
#2244
|
|||
|
|||
![]() Quote:
After the download is completed, I split the folder ABC with WinRAR with filesize 999 MB and upload. I just want this process to be automatic using a script or something if Jdownloader supports. |
#2245
|
||||
|
||||
![]()
@xefeg: you can disable the ABC subfolder, see https://support.jdownloader.org/Know...ackage-feature
You will have to ask mgpai for a script for eventscripter that copies file and splits it (with some 3rd party command line tool on your system).
__________________
JD-Dev & Server-Admin |
#2246
|
|||
|
|||
![]()
Script Request - Rename or Replace filename after download, if the string is found
1. Downloaded filename is delete_OriginalFilename.rar 2. If string 'delete' is found, replace it with 'A' 3. Else do nothing 4. Output = A_OriginalFilename.rar Last edited by xefeg; 09.06.2022 at 14:53. |
#2247
|
||||
|
||||
![]()
@xefeg: can also be done via Packagizer, see https://support.jdownloader.org/Know...paketverwalter
filename - contains - delete_* filename - set - <jd:orgfilename:1>
__________________
JD-Dev & Server-Admin |
#2248
|
|||
|
|||
![]() Quote:
However, if the file is OriginalFilename_delete.rar It seems to remove all the strings. How to remove if the unwanted string is at the end. Please help. eg. OriginalFilename_delete.rar Output = OriginalFilename.rar |
#2249
|
|||
|
|||
![]() Code:
if > filename > contains : *_delete* then set > file name > <jd:orgfilename:1><jd:orgfilename:2> |
#2250
|
||||
|
||||
![]()
@xefeg
Quote:
create two rules, one will remove leading, the other will remove trailing *delete* @or use the super nice solution from mgpai ![]()
__________________
JD-Dev & Server-Admin |
#2251
|
||||
|
||||
![]()
@mgpai
Side question: Do you have any kind of current overview of all your scripts? Just wondering because we do not have a good place for them but you could e.g. put them into a github library which I think you did sometimes in the past.
__________________
JD Supporter, Plugin Dev. & Community Manager Erste Schritte & Tutorials || JDownloader 2 Setup Download ----------------------------------- On Vacation / Im Urlaub Start: 2023-12-09 End: TBA |
#2252
|
||||
|
||||
![]() Quote:
Thanks! Created that EventScripter button and renamed it to 'Export link info' Installed the script I can click that button, confirmed permission. But what about that file, the script should create? Did I forget something? Last edited by StefanM; 09.06.2022 at 16:39. |
#2253
|
||||
|
||||
![]()
@StefanM: trigger must be set to "Downloadlist contextmenu button pressed"
__________________
JD-Dev & Server-Admin |
#2254
|
|||
|
|||
![]() Quote:
Btw, on the filename can we add two arguments? *delete*, *newdelete* Or we need to create two rules? |
#2255
|
||||
|
||||
![]()
@xefeg
Quote:
__________________
JD-Dev & Server-Admin |
#2256
|
|||
|
|||
![]()
A file in 'timestamp.tsv' format will be created in JD folder. Example (j:\Apps\Jdownloader\1654782759265.tsv)
Code:
var file = JD_HOME + "/" + Date.now() + ".tsv"; It is also possible to create a script which can export the entire list using a different trigger, for example on toolbar button press, without having to select any links. |
#2257
|
|||
|
|||
![]()
A. Only possible with downloads or while feeding origin links.
B. Eventscripter does not have access to crawling process. C. Can use sleep. (Will post example script when @Jiaz adds the new method) One more option which can help with rate limiting is reduce the linkchecker/linkcrawler threads in advanced settings. Default is 4 and 12. (I use 4 for both) The best approach is to control it at the plugin level, as suggested by @Jiaz/@psp. Does it help with rate limit? I thought that is triggered only after crawling/collectiing process is completed. |
#2258
|
||||
|
||||
![]() Quote:
![]()
__________________
JD-Dev & Server-Admin |
#2259
|
||||
|
||||
![]() Quote:
Maybe it's better to wait until a real use case exists.
__________________
JD Supporter, Plugin Dev. & Community Manager Erste Schritte & Tutorials || JDownloader 2 Setup Download ----------------------------------- On Vacation / Im Urlaub Start: 2023-12-09 End: TBA |
#2260
|
|||
|
|||
![]() Quote:
Since we cannot post any urls or upload any files in the forum, perhaps JD team can host an official repo to share scripts, rules etc. ![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|