How do I enable auto-removal of finished .torrents?..

Ask for help and report issues with the Mac OS X version of Transmission
Post Reply
DramaLLama
Posts: 6
Joined: Sun Apr 03, 2011 5:09 pm

How do I enable auto-removal of finished .torrents?..

Post by DramaLLama »

...after seeding. I see it's in the release notes for the new 2.30 but I can't find that option in preferences anywhere.
DramaLLama
Posts: 6
Joined: Sun Apr 03, 2011 5:09 pm

Re: How do I enable auto-removal of finished .torrents?..

Post by DramaLLama »

Oh I thought there was an option to have it automatically remove completed transfers. That answers my question, thanks.
silverfun
Posts: 1
Joined: Sun Jun 05, 2011 2:50 pm

Re: How do I enable auto-removal of finished .torrents?..

Post by silverfun »

If you are using a Mac then you can follow these steps. I have this running now on my imac which is also my Plex server.

1. Install Transmissionrpc onto your mac. To do this open up Terminal and type in the following: easy_install transmissionrpc <return> Then install JSON-RPC by typing in Terminal:
svn checkout http://svn.json-rpc.org/trunk/python-jsonrpc <return>
cd python-jsonrpc <return>
python setup.py install <return>

2. Now, in your Transmission preferences -> Remote enable remote access port 9091(or another port) and only allow 127.0.0.1 (localhost)

3. Copy this python script to your library ~/Library/Scripts. Note: change the port number in the script if you choose a different port number. If you are using authentication add user=<username>, password=<password> to the transmissionrpc.Client function.

import transmissionrpc
import sys
import logging
logging.getLogger('transmissionrpc').setLevel(logging.WARNING)
client = transmissionrpc.Client('localhost',port=9091)
torrents = client.info()
for tid, torrent in torrents.iteritems():
if torrent.status == 'stopped' and torrent.progress == 100:
print('%s has completed and will be removed' % (torrent.name))
client.remove(torrent.hashString, delete_data=False)
for f in sys.stdin:
print f,

4. I have an Automatior script that runs this python script above to remove the finished torrents and then moves TV shows to custom folders for my Plex Media Server.
jeff526
Posts: 2
Joined: Wed Apr 06, 2011 3:42 am

Re: How do I enable auto-removal of finished .torrents?..

Post by jeff526 »

Thanks for the post!
Can you send a copy of your applescript?
Post Reply