Push() - Pushes a variables to the NZBGet server. This is only useful during Post-Processing. Health_check() - Checks the status of the retrieved content, currently Validate() - Handle environment checking, correct versioning as wellĪs if the expected configuration variables you specified The following are some of the functionality that is built in for you: The entire framework was based on the information found here: ![]() It can also be adapted to support SABnzbd scripting! Thus any script you writeįor NZBGet users, you can also tweak to work with SABnzbd users too!įor the most up to date information and API, visit the wiki at.It greatly simplifies the handling of environment variables and interaction.Inside of every other NZBGet script such as file scanning. It provides some very useful functions that are always being re-written.Then theįramework will look after returning a correct failure error code to NZBGet. By this I mean, your code can throwĪn except and it's traceback will be captured gracefully to logging. It handles all of the exception handling.All return codes have been simplified to None/True/False (you can still.It prepares logging right out of the box for you, there is no setup required.This allows another script to laterĬall get() and retrieve the data set() by another. It creates a common SQLite database (optionally) to additionally writeĬontent passed via the set() function.It can preform very basic obfuscation support on filenames that can not be. ![]() Note: This can only happen if lxml is installed on your system. It contains a built in meta tag parser to extract content from NZB-Files. ![]() However it is also compatible with SABnzbd users too! Initially designed to work with NZBGet and is backwards compatible with all previous versions (as far back to v11). Was to greatly simplify the development and debugging process. This provides a python framework to design NZBGet scripts with.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |