[PP-Script] NotifyPlex - Library Update and GUI Notification

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: 7416
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: [PP-Script] NotifyPlex - Library Update and GUI Notifica

Post by hugbug » 02 Sep 2016, 04:41

You don't need debug version of nzbget. You need to modify the script and add extra log messages around the message in question to understand why the script thinks that download has failed.

konubywy
Posts: 16
Joined: 05 Nov 2015, 15:07

Re: [PP-Script] NotifyPlex - Library Update and GUI Notifica

Post by konubywy » 02 Sep 2016, 07:27

Unfortunately for me, that is actually beyond my skillset to do such a thing :cry:

fleXible
Posts: 5
Joined: 29 Aug 2019, 07:48

Re: [PP-Script] NotifyPlex - Library Update and GUI Notification

Post by fleXible » 30 Aug 2019, 22:23

From time to time I experienced the same problem, but wasn't big enough to dive into it. Till yesterday...

In line 108 the status is checked for "SUCCESS/ALL" to determine whether to notify the plex server.
But according to the nzbget documentation at https://nzbget.net/api/history there are more status signalling success.

Change the line to:

Code: Select all

ppStatus = os.environ['NZBPP_STATUS'].startswith('SUCCESS/')
Tell me, if it works


Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest