-
Notifications
You must be signed in to change notification settings - Fork 12
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.
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.
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
.