I did a small python script to watch different directories and send torrents to transmission through rpcxml.
At the moment the script only works on Linux (using inotify blocking wait).
Configuration is simple in the form of YAML file:
Code: Select all
rpc_server:
ip: 127.0.0.1
port: 9091
username: transmission
password: pass
dirs:
- watch_path: /home/user/torrents/ebook/newspaper
descrip: Newspaper
rpc_params:
download_dir: /mnt/ext4/news
To install it:
Code: Select all
pip3 install git+https://github.com/architek/trawa --user
Code: Select all
trawa --config <configuration.yaml>
I'm sharing it in the hope it can be useful to others. Feel free to fork, write pull request, raise bug reports, ...
Regards