Code: Select all
> python2.7 /usr/local/nzbget/share/nzbget/scripts/Notify.py -s prowl://6e4*******************44a0 -t "Hello" -b "meh" -D
[INFO] [DEBUG] Script mode forced off.
2015-06-29 15:49:07,493 - 23467 - DEBUG - set(config) SERVERS="prowl://6e4***********44a0"
2015-06-29 15:49:07,494 - 23467 - DEBUG - set(environment) SERVERS="prowl://6e4*******************44a0"
2015-06-29 15:49:07,495 - 23467 - DEBUG - set(config) TITLE="Hello"
2015-06-29 15:49:07,496 - 23467 - DEBUG - set(environment) TITLE="Hello"
2015-06-29 15:49:07,497 - 23467 - DEBUG - set(config) BODY="meh"
2015-06-29 15:49:07,498 - 23467 - DEBUG - set(environment) BODY="meh"
2015-06-29 15:49:07,499 - 23467 - DEBUG - get(config) SERVERS="prowl://6e4*****************44a0"
2015-06-29 15:49:07,500 - 23467 - DEBUG - get(config) TITLE="Hello"
2015-06-29 15:49:07,502 - 23467 - DEBUG - get(config) BODY="meh"
2015-06-29 15:49:07,503 - 23467 - DEBUG - get(default) INCLUDEIMAGE=None
2015-06-29 15:49:07,503 - 23467 - DEBUG - get(config) SERVERS="prowl://6e4*****************44a0"
2015-06-29 15:49:07,512 - 23467 - DEBUG - Server parsed to: {'host': '6e4***************44a0', 'user': None, 'query': None, 'url': 'prowl://6e4a***********************44a0', 'path': None, 'fullpath': None, 'password': None, 'port': None, 'schema': 'prowl'}
2015-06-29 15:49:07,514 - 23467 - DEBUG - Prowl POST URL: https://api.prowlapp.com/publicapi/add
2015-06-29 15:49:07,515 - 23467 - DEBUG - Prowl Payload: {'priority': 0, 'application': 'NZBGet-Notify', 'apikey': '6e4************4a0', 'description': 'meh', 'event': 'Hello'}
2015-06-29 15:49:08,298 - 23467 - WARNING - Failed to send Prowl notification: Verification Failed. (error=401).
roadrunnrr wrote:I am trying to set this up through notify my android and probably spend the last 2 days a total of 4 hours trying everything. I am a complete novice and do not even know where to put my "nma://apikey"
Does anyone have some tips to how i would get this to work? Kind of like Explain like i'm 5?
Code: Select all
# The below should test out your api key and send a Hello World notification
# -t is the title, where as -b is the body
python Notify.py -s nma://PutTheAPIKeyHere -t "Hello" -b "World!"
Users browsing this forum: No registered users and 35 guests