Skip to content

Instantly share code, notes, and snippets.

@azureru
Last active February 17, 2017 19:41
Show Gist options
  • Save azureru/e7f167d9e203aa105631408e6cb91c0a to your computer and use it in GitHub Desktop.
Save azureru/e7f167d9e203aa105631408e6cb91c0a to your computer and use it in GitHub Desktop.
Transmission And Node-Red
#!/bin/bash
curl -sS -o /dev/null -X GET http://10.0.1.200:9018/notify/transmission?name=$TR_TORRENT_NAME&time=$TR_TIME_LOCALTIME > /dev/null 2>&1
# Save the file - for example to /var/scripts/notify-transmission.sh
# Change the file permission to be executable
# stop transmission daemon first by
#
# sudo service transmission-daemon stop
#
# change /etc/transmission-daemon/settings.json -
#
# "script-torrent-done-enabled": true,
# "script-torrent-done-filename": "/var/scripts/notify-transmission.sh",
#
# And start the daemon
#
# sudo service transmission-daemon start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment