Page 1 of 1

[JDownloader] Setup for Windows, Linux and Mac OS X

Posted: 04 Mar 2016, 23:57
by rednoah
Welcome to the official JDownloader help & support topic!


Automated Media Center

This guide will help you with setting up the amc script with JDownloader. We'll add our own Event Scripter event script, which passes some arguments along to our shell script, which then calls filebot as usual.
  1. Install the Event Scripter plugin
  2. Add the Execute FileBot (PackageFinished) script
  3. Add the Execute FileBot (ArchiveExtracted) script
  4. Download the jdownloader-postprocess.sh (Mac and Linux) or jdownloader-postprocess.cmd (Windows) script, make sure it's executable, and place it in the JD_HOME folder.

    The script location is set in the first line:

    Code: Select all

    var script = '/path/to/jdownloader-postprocess'

You may edit the configuration files directly if you are running JDownloader on a headless server:
org.jdownloader.extensions.eventscripter.EventScripterExtension.scripts.json


Known Issues:
  • The PackageFinished script is called before extraction is complete. The ArchiveExtracted script is called for each individual archive. In order to avoid FileBot processing partially extracted files it is recommended that extraction is disabled in JDownloader and enabled in FileBot via the --def skipExtract=n option.
If something is not working, please read Shell Script Debugging for Beginners and make sure it's not a simple $PATH or permission issue.