After finished downloading it moves the file to the show/movie folder fetches artwork and subtitles, updates plex & xbmc, sends a pushover notification when it completes and then deletes any files/folders left behind. You can learn more about filebot here filebot.sourceforge.net
Code: Select all
#!/bin/bash
# SABnzbd Post Processing Script - www.Filebot.net "AMC" Script
FILE_PATH=$1
FILE_NAME=$3
filebot -script \
fn:amc \
--output "/path/to/your/media" \
--log-file amc.log \
--action move \
--conflict override -non-strict \
--def music=n \
--def xbmc=127.0.0.1 \
--def plex=127.0.0.1 \
--def pushover= \
--def artwork=y \
--def subtitles=en \
--def clean=y \
--def "exts=jpg|nfo|srv|srr|nzb|sfv|idx|sub|txt|part01|part02|par1|par2" \
--def "terms=sample|trailer|etc" \
--def "ut_dir=$FILE_PATH" \
--def "ut_kind=multi" \
--def "ut_title=$FILE_NAME"