How to setup jdownloader-filebot freenas jail
Posted: 27 Aug 2017, 10:08
Hello,
I'm trying to use filebot with jdownloader inside freenas jail.
I'm totally lost. There are a lot of documentation about gui but cli is another beast.
So what I have done so far.
I've downloaded the portable version of filebot and extracted inside /var/db/filebot
So I assume it's ok.
Jdownloader root is "/usr/jdownloader"
I try to follow the instructions of that link:
viewtopic.php?f=4&t=3478
1. Install the Event Scripter plugin -> ok but how to be sure is up and running ?
2. Add the Execute FileBot (PackageFinished) script
3. Add the Execute FileBot (ArchiveExtracted) script
I've found the files:
https://github.com/filebot/plugins/tree ... downloader
"Add" meaning what exactly ? I do not understand.
Do I put the files inside /usr/downloader or /var/db/filebot or something else ?
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.
JD_HOME = /usr/jdownloader ?
and,
var script = '/path/to/jdownloader-postprocess'
= var script = '/usr/jdownloader/jdownloader-postprocess'
I assume I do the same in the *.js scripts.
var script = JD_HOME + '/jdownloader-postprocess.sh'
becomes
var script = '/usr/jdownloader/jdownloader-postprocess'
Now, I've read that I've to put -no-xattr since zfs doesn't support xattr extensions.
so I edited jdownloader-postprocess.sh
I only use for movies so I can set ARG_LABEL="movie" ?
I saw there is a {plex} setting for rename but how do I put it inside the cmd line ?
Is it possible to do a dry run ?
I've a very slow internet connection so downloading a movie and waiting to see the result isn't very practical.
Thanks.
I'm trying to use filebot with jdownloader inside freenas jail.
I'm totally lost. There are a lot of documentation about gui but cli is another beast.
So what I have done so far.
I've downloaded the portable version of filebot and extracted inside /var/db/filebot
Code: Select all
filebot -version
FileBot 4.7.9 (r4984) / OpenJDK Runtime Environment 1.8.0_131 / FreeBSD 11.0-STABLE (amd64)
Jdownloader root is "/usr/jdownloader"
I try to follow the instructions of that link:
viewtopic.php?f=4&t=3478
1. Install the Event Scripter plugin -> ok but how to be sure is up and running ?
2. Add the Execute FileBot (PackageFinished) script
3. Add the Execute FileBot (ArchiveExtracted) script
I've found the files:
https://github.com/filebot/plugins/tree ... downloader
"Add" meaning what exactly ? I do not understand.
Do I put the files inside /usr/downloader or /var/db/filebot or something else ?
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.
JD_HOME = /usr/jdownloader ?
and,
var script = '/path/to/jdownloader-postprocess'
= var script = '/usr/jdownloader/jdownloader-postprocess'
I assume I do the same in the *.js scripts.
var script = JD_HOME + '/jdownloader-postprocess.sh'
becomes
var script = '/usr/jdownloader/jdownloader-postprocess'
Now, I've read that I've to put -no-xattr since zfs doesn't support xattr extensions.
so I edited jdownloader-postprocess.sh
Code: Select all
# Input Parameters
ARG_PATH="$1"
ARG_NAME="$2"
ARG_LABEL="movie"
# Configuration
CONFIG_OUTPUT="/media/Movies"
filebot -no-xattr -script fn:amc --output "$CONFIG_OUTPUT" --action duplicate --conflict auto -non-strict --log-file amc.log --def skipExtract=y unsorted=y music=n artwork=n
excludeList=".excludes" ut_dir="$ARG_PATH" ut_kind="multi" ut_title="$ARG_NAME" ut_label="$ARG_LABEL"
I saw there is a {plex} setting for rename but how do I put it inside the cmd line ?
Is it possible to do a dry run ?
I've a very slow internet connection so downloading a movie and waiting to see the result isn't very practical.
Thanks.