Post-processing script for NZBGet.
This script will inform a targeted Plex to refresh/update the library upon successful download and send a GUI Notification to Plex Home Theater.
- Download the newest version from releases page
- Unpack and move
NotifyPlex.py
into your pp-scripts directory - Install python package
requests
with commandpip install requests
- With Python 3.x you might need to use
pip3 install requests
- Open settings tab in NZBGet web-interface
- Fill in the PlexUser and temporarily the PlexPassword fields
- Use the Generate Plex Auth-Token button and put the resulting string into PlexAuthToken
- Remove your password
- Define your settings for NotifyPlex
- If using VideoSort or other Sort/Rename Scripts, run NotifyPlex after those scripts have sorted/renamed your files
- Save changes and restart NZBGet
For further information and history, please read the original forum thread.
If you experience any issues or have suggestions for changes and enhancements, please use the GitHub issue tracker.
The Python code follows the PEP 8 style guide. Please check your code with autopep8 before submitting a PR.
The needed configuration is provided in the file .pep8
and automatically recognized by autopep8.
Be sure to update README, CHANGELOG and Script-Version if necessary.
This script was originally published by mannibis in 2014 on the official NZBGet Forum.