Im trying to setup filebot for rtorrent since qbittorrent is way to unstable, ive managed to get it to work with the basic rtorrent-postprecess.sh script where i only changed the output folder and the logfile folder. Then i was trying to get it to work with my setup from qbittorrent but then filebot aint running on completed downloads.
filebot version: 4.9.0
rtorrent version: 0.9.8
this is my postprocess script:
Code: Select all
#!/bin/sh -xu
# Input Parameters
ARG_PATH="$1"
ARG_NAME="$2"
ARG_LABEL="$3"
# Configuration
CONFIG_OUTPUT="$HOME/Media"
filebot -script fn:amc --lang da --output "$CONFIG_OUTPUT" --action duplicate --conflict auto -non-strict --log-file "/home/c0de/scripts/logs/amc.log" --def unsorted=y music=y artwork=y excludeList=".excludes" plex="https://localhost:32400${PLEXTOKEN}" ut_dir="$ARG_PATH" ut_kind="multi" ut_title="$ARG_NAME" ut_label="$ARG_LABEL" --def movieFormat="{vf =~ /1080p|720p/ ? 'movies' : 'movies'}/{Languages.toString().contains('da') || audioLanguages.toString().contains('da')? 'Dansk' : 'Engelsk'}/{n}/{n.space('.')}.{y}{'.'+source}.{vc}{'.'+lang}" seriesFormat="{vf =~ /1080p|720p/ ? 'tv' : 'tv'}/{Languages.toString().contains('da') || audioLanguages.toString().contains('da')? 'Dansk' : 'Engelsk'}/{n}/{'Season '+s}/{n} - {s00e00} - {t}{'.'+lang}"