Transmission Houskeeping

The script transmission_housekeeping.py is a hack-job attempt at getting “watch folder” support and automatic removal of completed downloads for the Transmission BitTorrent client running in “daemon” mode. It works by using Erik Svensson's transmissionrpc Python module to interact with an instance of transmission-daemon, checking the status of current downloads and adding any torrents that are waiting in the watch folder.

Erik Svensson has since created transmission_supervisor, so I'll be rewriting the functionality in this script as extensions to that helper daemon.

Usage

To just run the script once, run:

transmission_housekeeping.py -c config.json

Example Configuration

{
	"host": "localhost",
	"port": 9091,
	"ratio-limit": 1.0,
	"uploaded-limit": 1024,
	"download-dir": "/home/alan/torrents/Downloading",
	"watch-dir": "/home/alan/torrents/Watch",
	"history-dir": "/home/alan/torrents/History",
	"complete-dir": "/home/alan/torrents/Complete"
}

Download

transmission_housekeeping.txt · Last modified: 2009/04/30 20:25 by alan
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki