Last active
December 17, 2016 06:24
-
-
Save xanderhsia/f401725db127d6518863 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# qbittorrent only passes the torrentname and torrentpath | |
#TORRENT_ID=$1 | |
TORRENT_NAME=$1 | |
TORRENT_PATH=$2 | |
#echo "Processing: " $1 $2 $3 >> /tmp/deluge-execute.log | |
/usr/bin/filebot -script fn:amc --output "/mnt/Raw/Filebotd" --log-file amc.log --action copy --conflict auto -non-strict --def artwork=y subtitles=en "ut_dir=$TORRENT_PATH/$TORRENT_NAME" "ut_kind=multi" "ut_title=$TORRENT_NAME" | |
#filebot -script fn:amc --output "$HOME/Videos" --log-file amc.log --action copy --conflict override -non-strict --def artwork=y subtitles=en "ut_dir=$TORRENT_PATH/$TORRENT_NAME" "ut_kind=multi" "ut_title=$TORRENT_NAME" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment