#1821
|
|||
|
|||
![]()
@mgpai
Hi. I need an automatism to copy ready extracted files from download folder to a folder on my NAS. Is there a way? Many thanks for every help. Shawn26 |
#1822
|
|||
|
|||
![]() Quote:
Quote:
|
#1823
|
|||
|
|||
![]() Quote:
What message is displayed in the status column for such downloads? |
#1824
|
|||
|
|||
![]() Quote:
You can use packagizer rule to move files after extraction. If you want to preserve the folder structure for extracted files which have sub-folders, you will have to use a script in eventscripter. Provide me example strings of source and destination folders if you need one. |
#1825
|
|||
|
|||
![]() Quote:
Quote:
The log when error pops up - com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') at [Source: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>302 Found</title> </head><body> <h1>Found</h1> <p>The document has moved <a href="**External links are only visible to Support Staff**>here</a>.</p> <hr> <address>Apache/2.2.22 (Debian) Server at update3.jdownloader.org Port 54322</address> </body></html> ; line: 1, column: 2] |
#1826
|
|||
|
|||
![]() Quote:
I need the status message of downloads (not the log error) to know when to check for connection availability and take appropriate action via script. You can also contact me in JD Chat when you have such downloads on the list. Code:
kiwiirc.com/nextclient/irc.libera.chat/#jdownloader |
#1827
|
|||
|
|||
![]()
@iLITT: Try this script. If it does not solve your problem, find me in JD Chat.
Code:
/* Monitor connection Trigger: JDownloader started */ monitorConnection(); function monitorConnection() { var browser, connected, running = isDownloadControllerRunning(); try { browser = getBrowser(); browser.getPage("http" + "://1.1.1.1"); connected = browser.responseCode == 301; } catch (e) {}; running && !connected && stopDownloads(); connected && !running && startDownloads(); sleep(5000); monitorConnection(); } |
#1828
|
|||
|
|||
![]() Quote:
|
#1829
|
|||
|
|||
![]()
Ok. Understood. Sorry I thought an alternative solution would also be acceptable to you.
|
#1830
|
|||
|
|||
![]() Quote:
already provided script latter-on. And my previous reply were posted latter anywaysÂ… Yes, of course I am open to other solutions... Just the manner you replied - "I will not make such script you asking for". Anyways, I will try the script and contact you @ chat regarding whether it worked or not... Thanks! |
#1831
|
|||
|
|||
![]() Quote:
I find the packagizer rulez. How can i realise it that i only move special files not all files and than without subfolders (only files)? Many thanks. Shawn26 |
#1832
|
|||
|
|||
![]()
You can specify the conditions in the 'if' section of the packagizer rule and move extracted files only when those conditions match.
|
#1833
|
|||
|
|||
![]() Quote:
|
#1834
|
|||
|
|||
![]() Quote:
Many Thanks. Shawn26 |
#1835
|
|||
|
|||
![]() Quote:
You can provide the url if you need help with the rule. |
#1836
|
|||
|
|||
![]()
I will download it from SJ.org and will be forwarded to ddownload.com.
But for me, SJ.org is important and not that they are downloaded from ddownload.com. Is this variant also possible? Or is it possible to copy files only from a special folder. Then I would create a rule to move the "wrong" files to another folder and then move the "right" files to my NAS after unzipping them. Many Thanks Shawn26 Last edited by Shawn26; 23.08.2021 at 19:19. |
#1837
|
|||
|
|||
![]() Quote:
Code:
if > sourceurls(s) > contains > sj.org then > move to > /path/to/nas/folder |
#1838
|
|||
|
|||
![]()
I had already tried this variant. But it doesn't seem to be "allowed".
I get the message ... "You should know that... ... You cannot use the source or the condition of origin to perform an "after unpacking" action. " Then the check mark next to "Source URL (s) contains" is removed again. What am I doing wrong? Shawn26 |
#1839
|
|||
|
|||
![]()
My mistake. I didn't know "that".
![]() If there are identifiers in file/package name or download url, can also use that in the rule instead. Source urls can be used in script, provided such url is stored by JD, which in turn depends on how the links were added. Find me in JD Chat if you could not find a working solution. Code:
kiwiirc.com/nextclient/irc.libera.chat/#jdownloader |
#1840
|
|||
|
|||
![]()
Hi,
i've tried this script to update jdownloader (headless on my raspberry pi) when there is nothing to to. i'm not sure its working correctly. whats the "interval" settings? is this the time jdownloader is waiting after the last download finished? i can see "60 * 60 * 1000" in the script. if this is in milliseconds the time jdownloader waits should be 60min. if this is correct jdownloader should be updated every night. but the last 2 days i hade update notification at the morning. is there a log file where i can check whether jdownloader was updated? |
![]() |
Thread Tools | |
Display Modes | |
|
|