I think you might be confused as to what this tool outputs and for that reason, there are several reasons why this script shouldn't do this. That said, there is no reason why someone couldn't make a new NZBGet-PPScript that does pyTivo calls. It's still a good idea!kgoroway wrote:I'm a bit surprised there hasn't been a request to notify a tivo.
Thanks for testing this for me; I guess you're the first one to use the NMA part of this tool. I fixed the URL in the master branch of GitHub as well as figured out the other reason why it wasn't working. BTW, thanks for your help in finding a good portion of the problem in your previous post! I went ahead and closed the ticket you created based on this commit.p00chie wrote:Notifications to Notify my Android won't work.
I had to edit NotifyMyAndroid.py --> NMA_URL = 'https://www.notifymyandroid.com/publicapi/notify'
...
Mon Jun 15 19:06:03 2015 INFO Notify: Sent NMA notification.
But i did not receive the message on nma
Code: Select all
python Notify.py -s prowl://my-secret-sauce-key -t "Test" -b "This is not a test"
2015-06-19 12:27:51,813 - 13584 - ERROR - Fatal Exception:
Traceback (most recent call last):
File "Notify/nzbget/ScriptBase.py", line 2274, in run
exit_code = main_function(*args, **kwargs)
File "Notify.py", line 648, in main
notify_type=notify_type,
File "Notify.py", line 443, in notify
nobj.notify(body=body, title=title, notify_type=notify_type)
File "Notify/pnotify/NotifyBase.py", line 267, in notify
**kwargs):
File "Notify/pnotify/NotifyProwl.py", line 122, in _notify
'application': self.api_id,
AttributeError: 'NotifyProwl' object has no attribute 'api_id'
Code: Select all
ERROR Fri Jun 19 2015 12:13:14 Post-process-script Notify.py for SuperLegalBackupDownload failed
ERROR Fri Jun 19 2015 12:13:14 Notify: AttributeError: 'NotifyProwl' object has no attribute 'api_id'
INFO Fri Jun 19 2015 12:13:14 Notify: 'application': self.api_id,
ERROR Fri Jun 19 2015 12:13:14 Notify: File "/usr/local/nzbget/share/nzbget/scripts/Notify/pnotify/NotifyProwl.py", line 122, in _notify
INFO Fri Jun 19 2015 12:13:14 Notify: **kwargs):
ERROR Fri Jun 19 2015 12:13:14 Notify: File "/usr/local/nzbget/share/nzbget/scripts/Notify/pnotify/NotifyBase.py", line 267, in notify
INFO Fri Jun 19 2015 12:13:14 Notify: nobj.notify(body=body, title=title, notify_type=notify_type)
ERROR Fri Jun 19 2015 12:13:14 Notify: File "/usr/local/nzbget/share/nzbget/scripts/Notify.py", line 443, in notify
INFO Fri Jun 19 2015 12:13:14 Notify: notify_type=notify_type,
ERROR Fri Jun 19 2015 12:13:14 Notify: File "/usr/local/nzbget/share/nzbget/scripts/Notify.py", line 626, in postprocess_main
INFO Fri Jun 19 2015 12:13:14 Notify: exit_code = main_function(*args, **kwargs)
ERROR Fri Jun 19 2015 12:13:14 Notify: File "/usr/local/nzbget/share/nzbget/scripts/Notify/nzbget/ScriptBase.py", line 2274, in run
ERROR Fri Jun 19 2015 12:13:14 Notify: Traceback (most recent call last):
Code: Select all
python /usr/local/nzbget/share/nzbget/scripts/Notify.py -s prowl://6e<secretsauce>a0 -t "Test" -b "This is not a test"
2015-06-22 12:35:33,248 - 14842 - WARNING - Failed to send Prowl notification: Verification Failed. (error=401).
Code: Select all
drwxr-xr-x 14 nzbget root 4096 Jun 22 12:34 Notify
-rwxr-xr-x 1 nzbget root 24917 Jun 19 22:58 Notify.py
Users browsing this forum: No registered users and 24 guests