GithubHelp home page GithubHelp logo

natemccurdy / nzbget-update_kodi Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 1.0 17 KB

NZBGet script to update Kodi libraries

License: Apache License 2.0

Python 100.00%
nzbget kodi nzbget-script kodi-library

nzbget-update_kodi's Introduction

update_kodi

NZBGet script to update Kodi's video library

Options

  • [host] => The IP address or resolvable hostname that Kodi is listening on.
  • [port] => The port that Kodi is listening on for HTTP requests.
  • [require_prior_scripts] => Whether or not prior scripts must succeed before updating Kodi.

Limitations

  • Requires Python 3.10+

nzbget-update_kodi's People

Contributors

natemccurdy avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

gamecockeli

nzbget-update_kodi's Issues

Add ability to run only if previous script succeeded

Enhancement

It would be good to have an option that will tell update_kodi to only run if the previous extension script succeeded.

This is useful in a scenario where something like VideoSort needs to sort and place files before Kodi should be updated.

Possible solution

  1. Add documentation that tells the user to put update_kodi after the required extension script in NZBGet.
  2. Create a yes/no option that, when yes, will check that the value of NZBPP_SCRIPTSTATUS is SUCCESS before trying to update Kodi. If it's not, we exit with code 95 (skip).

Only executes if Kodi is running on the localhost

Because there is a check for if kodi.bin is currently running before hitting the end-point, it is impossible to use this script on a remote host. Also, the check for kodi.bin is too specific to Ubuntu 14.04. It should support other operating systems.

update_kodi.sh should be executable

The script should have a mode of '755'. Because it doesn't, there's a message from NZBGet saying:

update_kodi: Fixing permissions for .../nzbget/scripts/update_kodi/update_kodi.sh

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.