How do I enable auto-removal of finished .torrents?..
-
- Posts: 6
- Joined: Sun Apr 03, 2011 5:09 pm
How do I enable auto-removal of finished .torrents?..
...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.
-
- Posts: 6
- Joined: Sun Apr 03, 2011 5:09 pm
Re: How do I enable auto-removal of finished .torrents?..
Oh I thought there was an option to have it automatically remove completed transfers. That answers my question, thanks.
Re: How do I enable auto-removal of finished .torrents?..
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.
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.
Re: How do I enable auto-removal of finished .torrents?..
Thanks for the post!
Can you send a copy of your applescript?
Can you send a copy of your applescript?