Transmission Twitter

About
A python app that sends status of your torrent downloads from transmission-daemon as direct message.

Features

 * 1) Remove torrent when it is completed (Done 100%)
 * 2) Remove torrent automatically when ratio equals certain number
 * 3) Add your feature here

Design

 * 1) Use a configuration file to store user inputs
 * 2) Python application must read the configuration file and act accordingly
 * 3) Create a module to process output of transmission-remote --list
 * 4) Module should have a method to refresh its data structure transmission-remote --list

Implementation

 * 1) The application will heavily depend on transmission-daemon,transmission-remote utility
 * 2) This application uses in-built json rpc interface

Additional notes
 Sample transmission-remote output  ID  Done  Have      ETA           Up    Down  Ratio  Status            Name 1   82%  578.8 MiB  1 hrs        0.0    37.0   0.07  Up & Down          Name of the torrent 1   82%  581.0 MiB  1 days       0.0     2.0   0.07  Downloading        Name of the torrent 3   63%  43.75 MiB  Unknown      0.0     0.0   0.00  Verifying          Name of the torrent 1   89%  628.7 MiB  Unknown      0.0     0.0   0.07  Up & Down 2   100% 702.2 MiB  Done         0.0     0.0   0.24  Idle 1   99%  702.1 MiB  1sec         0.0    20.0   0.11  Up &Down

Current status

 * 1) Sends the user direct message when a torrent download is completed
 * 2) Auto removes completed torrent from the list

TODO

 * 1) Send status of all torrents periodically
 * 2) Ability to control torrent using direct message
 * 3) Change the back end code so that this script runs independent of transmission-remote
 * 4) RPM/DEB package for hassle free operation

Code
http://gitorious.org/transmission-scripts