Help with Transmission Script
Posted: 20 Jun 2017, 04:06
So I have gotten Filebot working successfully in a Freenas jail. I tested it by running command line rename and it worked. I setup Transmission to run the following script upon completion:
This does not appear to work. Any advice?
Also, where can I get updated portable?
Code: Select all
#!/bin/sh -xu
# Input Parameters
ARG_PATH="$TR_TORRENT_DIR/$TR_TORRENT_NAME"
ARG_NAME="$TR_TORRENT_NAME"
ARG_LABEL="N/A"
/usr/filebot/filebot.sh -script fn:amc --output "/media/" --log-file amc.log --action copy --conflict auto -non-strict -no-xattr --def music=n "ignore=american.dad" pushbullet=XXXXX artwork=n clean=y "seriesFormat=/TV Shows/{n}/Season {s}/{n} - {s00e00} - {t}" "movieFormat=/Movies/{n} ({y})" plex=192.168.1.5 ut_dir="$ARG_PATH" ut_kind="multi" ut_title="$ARG_NAME" ut_label="$ARG_LABEL"
Also, where can I get updated portable?
Code: Select all
root@transmission_1:/ # /usr/filebot/filebot.sh -script fn:sysinfo FileBot 4.7.9 (r4984)
JNA Native: java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/freebsd-x86-64/libjnidispatch.so) not found in resource path ([file:/usr/filebot/FileBot.jar])
MediaInfo: net.filebot.mediainfo.MediaInfoException: Unable to load amd64 (64-bit) native library libmediainfo.so: Could not initialize class com.sun.jna.Native
Apache Commons VFS: [zip, rar]
Chromaprint: 1.4.2
Extended Attributes: java.io.IOException: UserDefinedFileAttributeView is not supported
Unicode Filesystem: OK
Script Bundle: 2017-05-15 (r500)
Groovy: 2.4.10
JRE: OpenJDK Runtime Environment 1.8.0_131
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 4 Core / 4 GB Max Memory / 49 MB Used Memory
OS: FreeBSD (amd64)
Package: PORTABLE
uname: FreeBSD transmission_1 11.0-STABLE FreeBSD 11.0-STABLE #0 r313908+f4b711d1be8(freenas/11.0-stable): Tue Jun 13 19:17:29 UTC 2017 root@gauntlet:/freenas-11-releng/freenas/_BE/objs/freenas-11-releng/freenas/_BE/os/sys/FreeNAS.amd64 amd64
Done ヾ(@⌒ー⌒@)ノ