Code: Select all
#!/bin/bash
TORRENT_ID=$1
TORRENT_NAME=$2
TORRENT_PATH=$3
filebot -script fn:amc --output "/mnt/downloads/deluge/complete/" --log-file amc.log --action copy --conflict override -non-strict --def extractFolder=/mnt/downloads/deluge/extracts "ut_dir=$TORRENT_PATH/$TORRENT_NAME" "ut_kind=multi" "ut_title=$TORRENT_NAME" music=y subtitles=en,es "seriesFormat=/mnt/videos/shows/{n}/{'S'+s}/{n} - {s00e00} - {t}" "movieFormat=/mnt/videos/movies/{n} {y}/{fn}" "musicFormat=/mnt/files/shared/music/{artist}/{album}/{fn}" clean=y
Code: Select all
filebot -extract /mnt/downloads/deluge/complete/Last.Week.Tonight.With.John.Oliver.S05E30.720p.HDTV.X264-UAV/last.week.tonight.530.720p-uav.rar
Read archive [last.week.tonight.530.720p-uav.rar] and extract to [/mnt/downloads/deluge/complete/Last.Week.Tonight.With.John.Oliver.S05E30.720p.HDTV.X264-UAV/last.week.tonight.530.720p-uav]
Running filebot -script fn:sysinfo yields:
Code: Select all
filebot -script fn:sysinfo
FileBot 4.8.4 (r5884)
JNA Native: 5.2.2
MediaInfo: 18.08.1
Apache Commons VFS: [zip, rar]
Chromaprint: 1.4.3
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2018-10-05 (r536)
Groovy: 2.5.1
JRE: OpenJDK Runtime Environment 1.8.0_192
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 4 Core / 3 GB Max Memory / 28 MB Used Memory
OS: Linux (amd64)
HW: Linux NASty 4.19.2-arch1-1-ARCH #1 SMP PREEMPT Tue Nov 13 21:16:19 UTC 2018 x86_64 GNU/Linux
DATA: /home/jlg/.config/filebot
Package: AUR
License: FileBot License P6231867 (Valid-Until: 2019-11-21)
Done ヾ(@⌒ー⌒@)ノ
Code: Select all
export FILEBOT_OPTS="-Dnet.filebot.Archive.extractor=SevenZipExecutable"