Code Monkey home page Code Monkey logo

nzbget-update_kodi's People

Contributors

natemccurdy avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

gamecockeli

nzbget-update_kodi's Issues

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.

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).

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.