#!/bin/bash export LANG=en_US.UTF-8 export LANGUAGE=en_US.UTF-8 export LC_CTYPE="en_US.UTF-8" TORRENT_PATH=$1 TORRENT_NAME=$2 TORRENT_LABEL=$3 # Subtitle language SUBLANG=en SKIP_EXTRACT=y MUSIC=y "$HOME"/bin/filebot -script fn:amc \ --output "$HOME/media" \ -non-strict --encoding utf8 --log all --log-file "$HOME"/scripts/amc-rtorrent.log --action symlink --conflict override \ --def artwork=false ut_kind=multi "ut_dir=$TORRENT_PATH" "ut_title=$TORRENT_NAME" subtitles=$SUBLANG \ extractFolder="$HOME/downloads/_extracted" music=$MUSIC skipExtract=$SKIP_EXTRACT &