caronc / pynzbget Goto Github PK
View Code? Open in Web Editor NEWA Python Framework for NZBGet & SABnzbd Scripting
License: GNU General Public License v3.0
A Python Framework for NZBGet & SABnzbd Scripting
License: GNU General Public License v3.0
PyNZBGet attempts to detect if the user is executing a script from the command line, or if they are calling it from within NZBGet. This detection can trigger a different series of events and can cause the script to out right fail if the wrong path is chosen in the wrong case.
This ticket executes this exact scenario.
You can now test your scripts from within NZBGet's Configuration page. Tie this into this framework plugin.
The syntax within the NZB-Get script looks like this
############################################################################
### OPTIONS ###
#
# To check connection parameters click the button.
# ConnectionTest@Send Test E-Mail
#
#
# ...
In the above example, a button will appear on the NZBGet's script configuration screen that reads Send Tests E-Mail. When the button is pressed, the script is executed with the environment variable NZBCP_COMMAND with the value ConnectionTest.
if None is passed in, then debugging should be turned off.
Add support for PID-File management and unique process instance detection so that Scheduler scripts can run indefinitely (or until NZBGet signals them to close). NZBGet will signal when it is shut down or performs a Reload.
With respect to issue resolved here, it is possible to get a DownloadedSizeMB KeyError when accessing NZBGet's Control API.
A question mark plays a roll in the parsing of the URL message itself, a url containing a password with a question mark has been reported to break pynzbget:
eg: proto://user:pass.with.?is.failing@host
I love the scripts you create;
Will there be any python 3.x support for your scripts/framework?
thanks
SABnzbd supports environment variables with their Post Processing scripts documented here. Add support to pynzbget allowing posts process scripts written for NZBGet to also be compatible with SABnzbd.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.