Skip to content

Instantly share code, notes, and snippets.

@gallo-s-chingon
gallo-s-chingon / torrent-process.sh
Created August 29, 2017 13:10 — forked from werkkrew/torrent-process.sh
Script to get called by Deluge on Torrent completion
#!/bin/bash
#### Torrent post-processing script.
# This script gets triggered by deluge and moves/extracts a file to another place for further processing (filebot)
# The reason this script does not handle the filebot processing itself (which it could) is for flexbility of using multiple methods of downloading (e.g. usenet)
# The idea is that a filebot script monitors a folder for new files and deals with them, regardless of the source.
# This script puts the files in a central location for processing and allows them to continue seeding.
# Uncomment the following line to enable debugging
#set -x
@gallo-s-chingon
gallo-s-chingon / seedbox-sync.sh
Last active December 24, 2017 06:20 — forked from werkkrew/seedbox-sync.sh
Sync -edited for my purposed
#!/bin/bash
#### Seedbox Sync
#
# Sync various directories between home and seedbox, do some other things also.
#
# To use rsync, this script requires you have ssh key based logins with no passphrase
# set up between the user this script runs as and your seedbox.
logdir="/home/gyo/.config/log"
xferlog="xferlog.log"
@gallo-s-chingon
gallo-s-chingon / filebot-process.sh
Last active October 23, 2016 09:00 — forked from werkkrew/filebot-process.sh
Filebot Process edited for my local NAS box. removed "ut_tags=" to allow my setup to continue process
#!/bin/bash
#### Media file processing script for Filebot
# This script gets triggered by some means (inotify, auditd, cron, etc.) and processes media files in some locations.
# It will run the filebot amc.groovy script against these files and output them into user defined locations for HTPC use.
#
# Known Limitations:
# Not dealing with music files, just video files. I use beets for music tagging.
# Not dealing with unique video types just yet, such as comedy specials, concerts, etc. Filebot might match it okay but I am not confident about it.