Skip to content

Notifications

pyed edited this page Aug 18, 2018 · 5 revisions

You can setup rtelegram to notify you whenever a torrent gets completed, that is done by making rTorrent log completed torrents to a file and pointing rtelegram to that file through the -completed-torrents-logfile flag.

rTorrent side.

You need to add the following to your rtorrent.rc file.

# Log completed torrents
method.set_key = event.download.finished, log_completed, \
	"execute.nothrow = sh, -c, \"echo >> /path/to/completed.log \\\"$0\\\"\", $d.name="

make sure to change /path/to/completed.log to something real, and restart rTorrent to reload the new settings.

rTelegram side.

Now start rtelegram with -completed-torrents-logfile=/path/to/completed.log. If all goes according to plan, you should get notified upon torrent completion with Completed: NameOfTheTorrent.

Clone this wiki locally