Skip to content

Notifications

pyed edited this page Oct 1, 2026 · 7 revisions

Current rtelegram (v3): see Notifications in the README. Send /notify in the chat that should be told; the bot checks rTorrent itself, so the rtorrent.rc change and -completed-torrents-logfile below are no longer needed. The rest of this page describes rtelegram v1.

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