[PP-SCRIPT] Pushbullet notifications (Android, iOS, Chrome)

Share your scripts or request scripts with specific features.
Forum rules
Please keep the forum clean - one topic per script. Questions not related to a specific script should be posted in Support forum.
hugbug
Developer & Admin
Posts: 6710
Joined: 09 Sep 2008, 11:58
Location: Germany (NRW)

Re: [PP-SCRIPT] Pushbullet notifications (Android, iOS, Chro

Post by hugbug » 20 Oct 2014, 21:25

r1148: queue scripts can now define what events they are interested in.
For more details see topic Fake detection.

henrikhoe
Posts: 6
Joined: 26 Oct 2014, 21:00

Re: [PP-SCRIPT] Pushbullet notifications (Android, iOS, Chro

Post by henrikhoe » 26 Oct 2014, 21:05

having some problems making this work on nzbget on synology 13.0-11

neither the postscript works or the scan script works.

they are in the right folders etc, but and in messages it says

Sun Oct 26 2014 23:10:33 Post-process-script Pushbullet.py for Hercules.2014.EXTENDED.1080p.BluRay.X264-AMIABLE successful
INFO Sun Oct 26 2014 23:10:32 Executing post-process-script Pushbullet.py for Hercules.2014.EXTENDED.1080p.BluRay.X264-AMIABLE

JVM
Posts: 83
Joined: 21 Oct 2013, 05:11

Re: [PP-SCRIPT] Pushbullet notifications (Android, iOS, Chro

Post by JVM » 27 Oct 2014, 08:01

This might be a cURL problem. Have you got curl installed? One way to check is to type curl in a ssh session or similar and see what happens.

The v14 script doesn't use curl, it uses a python library instead to send to pushbullet. You could try the v14 one on NZBGet v13, just turn off the time statistics stuff for PP notification, as that's a NZBGet v14 feature. I haven't yet got round switching over from curl to the python library for the v13 and v11 scripts.

henrikhoe
Posts: 6
Joined: 26 Oct 2014, 21:00

Re: [PP-SCRIPT] Pushbullet notifications (Android, iOS, Chro

Post by henrikhoe » 27 Oct 2014, 17:26

JVM wrote:This might be a cURL problem. Have you got curl installed? One way to check is to type curl in a ssh session or similar and see what happens.

The v14 script doesn't use curl, it uses a python library instead to send to pushbullet. You could try the v14 one on NZBGet v13, just turn off the time statistics stuff for PP notification, as that's a NZBGet v14 feature. I haven't yet got round switching over from curl to the python library for the v13 and v11 scripts.
i got curl installed on the NAS yes, ill try the python v14 now and see how it goes

henrikhoe
Posts: 6
Joined: 26 Oct 2014, 21:00

Re: [PP-SCRIPT] Pushbullet notifications (Android, iOS, Chro

Post by henrikhoe » 27 Oct 2014, 17:56

it worked now, thank you very much :) great script

disabled time stuff, and it worked without any issues, this was my final step so now everything is perfect :)

--------------

edit;
i talked to soon, it works with queuing, but when i put the file in category, for sending when its complete i get this error message

ERROR Mon Oct 27 2014 19:39:36 Post-process-script Pushbullet.py for The.Simpsons.S26E01.Clown.in.the.Dumps.720p.WEB-DL.DD5.1.H.264-NTb failed (terminated with unknown status)
INFO Mon Oct 27 2014 19:39:36 Pushbullet: KeyError: 'DownloadedSizeMB'
INFO Mon Oct 27 2014 19:39:36 Pushbullet: DownloadedSizeMB = float(nzbGroup['DownloadedSizeMB'])
INFO Mon Oct 27 2014 19:39:36 Pushbullet: File "/usr/local/nzbget/share/nzbget/scripts/Pushbullet.py", line 337, in <module>
INFO Mon Oct 27 2014 19:39:36 Pushbullet: Traceback (most recent call last):


weird thing is that downloadsizeMB is disabled(no)

Sorry, my english isn't the best, what i mean, it works when it queues up file. But doesn't work when its finished, then it gives error messages above. And i have disabled DownloadedSizeMB

henrikhoe
Posts: 6
Joined: 26 Oct 2014, 21:00

Re: [PP-SCRIPT] Pushbullet notifications (Android, iOS, Chro

Post by henrikhoe » 27 Oct 2014, 21:05

dont mean to write so much but i got it working now, also for when its finished :)

ty you so much for helping :)

JVM
Posts: 83
Joined: 21 Oct 2013, 05:11

Re: [PP-SCRIPT] Pushbullet notifications (Android, iOS, Chro

Post by JVM » 27 Oct 2014, 23:53

Glad to see you got it working!

I'm curious as how you got it working after that key error?

nick
Posts: 2
Joined: 25 Nov 2014, 22:12

Re: [PP-SCRIPT] Pushbullet notifications (Android, iOS, Chro

Post by nick » 25 Nov 2014, 22:31

I would like to run the pushbullet script but I cant get it working :(

I'm running NZBGet v14+ with Pushbullet.py (v14 version 1.1) on my synology NAS.
I have set the correct token and leave all other settings as default.

The messages show me that the script runned succesfully but I didn't get a push notification on one of my devices.
Post-process-script Pushbullet.py for ***** successful
Executing post-process-script Pushbullet.py for******


Could anyone help me to solve this issue??

JVM
Posts: 83
Joined: 21 Oct 2013, 05:11

Re: [PP-SCRIPT] Pushbullet notifications (Android, iOS, Chro

Post by JVM » 26 Nov 2014, 11:32

Might be a python library urllib which isn't installed (but if urllib isn't installed that would produce a related error saying it doesnt know what it is). Maybe try the 11 or 13 scripts as they use a different method to send to pushbullet (cURL instead of urllib). If that doesn't work type "curl" into a ssh session to see if curl is installed.

nick
Posts: 2
Joined: 25 Nov 2014, 22:12

Re: [PP-SCRIPT] Pushbullet notifications (Android, iOS, Chro

Post by nick » 26 Nov 2014, 19:29

Thanks for helping...

I discovered I didnt't move the 14 script to the scrips folder. After I have done this the scripts worked. :D

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest