View Single Post
  #17  
Old 23.10.2020, 07:09
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,533
Default

Quote:
Originally Posted by dbrown1986 View Post
... can't be parsed.
Quote characters must be escaped:
Code:
var destinationFolder = getPath(\"/home/seedit4me/drive/debrid/\" + link.package.name);

Better to install it in GUI and then copy the JSON value from advanced setings and paste it in the headless install via corresponding WebUI advanced settings.
Code:
Settings > Advanced Settings > EventScripter.scripts

Alternatively, after you install the script in GUI, you can copy the following file from GUI to headless:
Code:
<JDdownloader Folder>\cfg\org.jdownloader.extensions.eventscripter.EventScripterExtension.scripts.json
Reply With Quote