amc script with custom formats for anime
Posted: 08 Feb 2019, 09:48
I am currently using a seedbox that runs filebot and this is the script it runs for rtorrent currently.
It works if I leave it as is but I am trying to change the code so it does SxE so Plex can read the format properly from TheTVDB. I tried changing the code to this
but the format didn't change at all after retrying, I am new to both filebot and using a seedbox so I am not sure what is wrong exactly, also I cant find the log files anywhere.
If I can get some help just to get my anime/shows to work with the TheTVDB database it would be greatly appreciated!
Code: Select all
#!/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=n
MUSIC=y
filebot -script /opt/filebot/scripts/amc.groovy \
--output "$HOME/media" \
-non-strict --encoding utf8 --log all --log-file 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/files/_extracted" music=$MUSIC skipExtract=$SKIP_EXTRACT &
Code: Select all
#!/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=n
MUSIC=y
filebot -script fn:amc --db TheTVDB --output "$HOME/media" --action symlink -non-strict --conflict auto --lang en --log all --log-file amc-rtorrent.log --order Absolute --format {order.airdate.plex} \
--def "skipExtract=y' 'seriesFormat=anime/{n}({y})/{'\''Season '\''+s}/{n} - {s00e00} - {t} - [{vf}.{vc}.{ac}]"
subtitles=$SUBLANG \
extractFolder="$HOME/files/_extracted" music=$MUSIC skipExtract=$SKIP_EXTRACT &
If I can get some help just to get my anime/shows to work with the TheTVDB database it would be greatly appreciated!