JDownloader Community - Appwork GmbH

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 19.06.2020, 22:51
OCHer OCHer is offline
Junior Loader
Join Date: Jan 2020
Posts: 12

Originally Posted by mgpai View Post
// Call external program
// Trigger: Archive extraction finished


if (isDownloadControllerIdle() && !callAPI("extraction", "getQueue").length) callSync("synoindex", "-R", "video");

This should call the external program if no downloads are running and last archive file has been extracted. Install the script in JD with GUI and copy the JSON value from advanced settings.
Hi mgpai, I tried but unfortunately my Synology DiskStation does not execute the command "synoindex -R video".
I have set this in MyJDownloader EventScripter: Scripts:
[ {
  "eventTrigger" : "ON_ARCHIVE_EXTRACTED",
  "enabled" : true,
  "name" : "Synology Videoordner nach entpacken indizieren",
  "script" : "disablePermissionChecks();\n\nif (isDownloadControllerIdle() && !callAPI(\"extraction\", \"getQueue\").length) callSync(\"synoindex\", \"-R\", \"video\");",
  "eventTriggerSettings" : {
    "isSynchronous" : false
  "id" : anonymus
} ]
Can you please take a look at what might be wrong?
Reply With Quote

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 00:17.
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.