rTorrent - Notifications
There are different ways you can be notified of when torrents are added or completed in rTorrent. This guide covers just one of these services - Pushbullet.
You'll need to execute some commands via SSH to use this software. There is a separate guide on how to connect to your slot via SSH. Commands are kept as simple as possible and in most cases will simply need to be copied and pasted into the terminal window (then executed by pressing the Enter key).
First of all you need an account at Pushbullet and the necessary API access token. You can get this from the My Account section of the Pushbullet site, clicking Create Access Token. You should make a note of this as it's necessary to make use of the API.
Create the necessary file by executing nano ~/pushbullet.sh, copying and pasting the below (after replacing access_token with the API access token you obtained earlier):
#!/bin/bash tname=$1 curl -u access_token: https://api.pushbullet.com/v2/pushes -d type=note -d title="$tname added to rTorrent"
To configure rTorrent to use the script simply copy and paste the following:
chmod +x ~/pushbullet.sh echo "system.method.set_key = event.download.inserted_new,push_me,\"execute=$PWD/pushbullet.sh,\$d.get_name=\"" >> ~/.rtorrent.rc pkill -fu "$(whoami)" 'SCREEN -S rtorrent' screen -dmS rtorrent rtorrent