Can I use this on the Synology (where NZBGet is installed) and have it forward to my Mac? I couldn't see an option for that.hugbug wrote:As a side note: script NotifyOSX shows correct icon.
Can I use this on the Synology (where NZBGet is installed) and have it forward to my Mac? I couldn't see an option for that.hugbug wrote:As a side note: script NotifyOSX shows correct icon.
No, it works only when NZBGet is running locally on Mac.jamesjfa72 wrote:Can I use this on the Synology (where NZBGet is installed) and have it forward to my Mac? I couldn't see an option for that.
I thought I had built this into the script already TBH.jamesjfa72 wrote:Are you able to include the NZBGet logo when sending the notification to Growl? At the moment it's a default image by Growl I think.
Code: Select all
# with password
growl://password@server?version=1
# or without
growl://server?version=1
Code: Select all
# just browse to your scripts directory
cd /path/to/nzbget/scripts
# -i from the command line enables images (they're disabled at the CLI by default)
# Optionally add a -D somewhere too if you want (the debugging is the same
# as it is in NZBGet)
TidyIt.py -i -s growl://password@server?version=1 -t "Hello" -b "World"
Sure,In_Cognito19 wrote:Could you please supply me with an example of what the simple json response would look like from nzbget-notify?
Code: Select all
{
'version': '1.0',
'title': "Download Successful: Sintel 720p",
'message': "More Details... here",
'image': "http://nzbget.lead2gold.org/notify/nzbget-notify-success-128x128.png"
}
Code: Select all
'User-Agent': 'NZBGet-Notify'
'Content-Type': 'application/json'
Notify.py makes an RPC (Remote Procedure Call) back to NZBGet to fetch all of the download statistics... logging, etc (so that it can relay this info along to you through the notification it sends). So; if you're getting that error, then the connection is being dropped (or can't be established) while it's attempting to fetch this information. Notify.py will already know (with or without this extra RPC call) whether the download was successful or not which is why you're getting the notifications still. The warning is just letting you know that you're missing out on some more info on the download (transfer speeds, etc) that can get passed back to you.conradh wrote: I always get a warning message with the text:
"Notify: RCP Connection Failure (10061): No connection could be made because the target machine actively refused it"
l2g wrote:conradh wrote: I always get a warning message with the text:
"Notify: RCP Connection Failure (10061): No connection could be made because the target machine actively refused it"
Users browsing this forum: No registered users and 40 guests