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" |
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
#!/usr/bin/python | |
import sys | |
import subprocess | |
import logging | |
from os import path | |
from deluge.ui.client import client | |
from twisted.internet import reactor | |
# Customizable filebot and script options. Lines starting with # are disbled. Remove # to enable them. |
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
# Notes: | |
# - Minimal appveyor.yml file is an empty file. All sections are optional. | |
# - Indent each level of configuration with 2 spaces. Do not use tabs! | |
# - All section names are case-sensitive. | |
# - Section names should be unique on each level. | |
#---------------------------------# | |
# general configuration # | |
#---------------------------------# |
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 | |
# Backup a Plex database. | |
# Author Scott Smereka | |
# Version 1.0 | |
# Script Tested on: | |
# Ubuntu 12.04 on 2/2/2014 [ OK ] | |
# Plex Database Location. The trailing slash is |
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
#!/usr/bin/env python | |
import urllib | |
from xml.dom import minidom | |
host = 'localhost' | |
source_type = ['movie', 'show'] # Valid values: artist (for music), movie, show (for tv) | |
base_url = 'http://%s:32400/library/sections' % host | |
refresh_url = '%s/%%s/refresh?force=1' % base_url | |
try: |
NewerOlder