FileBot

From The World according to Vissie
Jump to navigation Jump to search

TV show format (Linux):

/media/Vissie_3T/TV Shows/{n}/{"Season ${s.pad(2)}"}/{n} - {s00e00} [{vf}][{af}] - {t}

Movie

/media/Vissie_3T/Movies/{n} ({y})/{n} ({y}){' CD' +pi}

/media/vissie/Vissie_3T/Movies/{n}/{n}{fn.contains('3D') || fn.contains('3-D') ? ' '+'- 3D':""} ({y})[{vf}][{af}]

My deluge automated script

vim: /home/vissie/delugecomplete.sh
#!/bin/bash
##
## Send data to an android device using Tasker's Auto Remote
## Now also take the file to filebot. Work in progress...

TORRENT_ID="$1"
TORRENT_NAME="$2"
TORRENT_PATH="$3"

Script="-script fn:amc"
Action="--action duplicate"
Conflict="--conflict auto"
LogFile="--log-file amc.log"
ExcludeList="--def excludeList=amc.excludes"

filebot $Script $Action $Conflict $LogFile --def pushover=UserKetHere:AppKeyHere --def xbmc=192.168.1.100 --def reportError=y --def storeReport=y $ExcludeList --def unsorted=y --def music=n --def artwork=y "ut_dir=$TORRENT_PATH/$TORRENT_NAME" "ut_kind=multi" "ut_title=$TORRENT_NAME" --def "seriesFormat=/media/vissie/Vissie_T2/TV Shows/{n}/Season {s.pad(2)}/{n} - {s00e00} [{vf}][{af}] - {t}" --def "movieFormat=/media/vissie/Vissie_3T/Movies/{n} ({y})/{n} ({y}){'CD' +pi}"