Dependencies:
The script can also be ran manually. Sample syntax:
move_to_rtorrent.sh omi8op96vamnwufh2o16ln9swg5qojf61jqvqlhn "My Torrent Name" "/path/to/my/torrent/top/folder" (where omi8op96vamnwufh2o16ln9swg5qojf61jqvqlhn is the torrent ID as listed in "Details" tab in deluge) Script tries to dynamically figure out the torrent name and torrent path. However, in deluge 1.x the console info plug-in doesn't have any field that lists the path. If you run deluge 1.X then all 3 parameters are mandatory.
Let's asume the following:
Torrent ID: omi8op96vamnwufh2o16ln9swg5qojf61jqvqlhn
Torrent name: Mia Comes Home Again 2019.720p.BluRay.DD5.1.x264
Torrent path: /home/downloads/movies/hd_movies
If you run deluge 1.X then you should call the script like this:
$SCRIPT_PATH/move_to_rtorrent.sh "omi8op96vamnwufh2o16ln9swg5qojf61jqvqlhn" "Mia Comes Home Again 2019.720p.BluRay.DD5.1.x264" "/home/downloads/movies/hd_movies"
If you run deluge 2.X then this is enough:
$SCRIPT_PATH/move_to_rtorrent.sh "omi8op96vamnwufh2o16ln9swg5qojf61jqvqlhn"
Execute plug-in sends all 3 parameters anyway so this isn't an issue unless ran manually.
There is also experimental support for command timeout. If you're not sure, don't enable it.
How to use:
If the script has any issues run it from command line and provide the screen output + the log mentioned at the top
Pull requests are welcome. So is constructive criticism.
Initial version of the script came from here: https://github.com/wseedbox/deluge-to-rtorrent . Kudos to them.
Since the variable where we store the deluge ratio is the same as the rutorrent plugin uses, you can use https://github.com/wseedbox/rutorrent-deluge-ratio to display both the deluge ratio and the total ratio.