Go to file
ben 78719d596f pass dict to is_episode 2015-07-27 01:46:46 +00:00
.gitignore gitignore 2015-05-10 19:47:16 +00:00
README.md only rm episodes 2015-07-26 21:07:13 +00:00
torrenttools.py pass dict to is_episode 2015-07-27 01:46:46 +00:00
transmissionrpc.py removing import 2015-05-10 20:14:30 +00:00

README.md

torrenttools

This is a set of scripts I used to manage to my torrent client. It will

  • --walk: Walk your dump directory for new files. If it detects episodes, these will be moved to the collection, sorted by show name and season.
  • --remove-torrents: Removes finished torrents from transmission (those that have reached their seed limits). Will only delete local data for episodes.

The scripts are geared towards Transmission (and has a simple client for the Transmission RPC protocol). But file moving feature is client-agnostic and operates on files. The scripts use guessit to parse filenames, but only supports episodes as-it.

I use flexget to download .torrent files, which transmission then picks up.

Usage

Cronjob:

*/30 * * * * /usr/bin/python /path/to/transmissiontools.py --walk --remove-torrents > /dev/null

Disclaimer

Torrents have other purposes than illegal piracy.