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

If an action fails due to an invalid license, it shouldn't be added to the excludes file. #24

Open
BrianAllred opened this issue Apr 12, 2024 · 1 comment

Comments

@BrianAllred
Copy link

Related to #23, having to manually delete lines from the excludes file when the license is suddenly not valid anymore is also very cumbersome.

@rednoah
Copy link
Member

rednoah commented Apr 13, 2024

That would lead to an infinite loop of try, fail, try, fail, try, fail, ad infinitum (if a new license is never installed) which is exactly that kind of behaviour that the --def excludeList option is designed to stop.

You can however add your own license check before calling the amc script call and send yourself an email:

if filebot -script fn:sysinfo | grep EXPIRED; then
  # send email to myself
  exit 1
fi

# do things that require a valid license

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants