Last active
December 31, 2015 06:39
-
-
Save nigamankit7/7948843 to your computer and use it in GitHub Desktop.
This script is to send notification to pushbulllet when download compeltes in transmission
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import sys | |
from pushbullet import Device | |
apiKey = "#########################" | |
phone = Device(apiKey, ################) | |
torrentname = '\n'.join(sys.argv[1:]) | |
push = phone.push_note('Transmission: New download completed',torrentname + ' has been downloaded') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment