Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to run only if previous script succeeded #6

Closed
natemccurdy opened this issue Dec 3, 2015 · 0 comments · Fixed by #7
Closed

Add ability to run only if previous script succeeded #6

natemccurdy opened this issue Dec 3, 2015 · 0 comments · Fixed by #7
Assignees

Comments

@natemccurdy
Copy link
Owner

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).
@natemccurdy natemccurdy self-assigned this Dec 3, 2015
natemccurdy added a commit that referenced this issue Jan 5, 2023
natemccurdy added a commit that referenced this issue Jan 5, 2023
natemccurdy added a commit that referenced this issue Jan 5, 2023
natemccurdy added a commit that referenced this issue Jan 5, 2023
natemccurdy added a commit that referenced this issue Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant