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

[Feature request] Create an environmental variable to disable MakeMKV updating - Fixes a blocking problem when there is no/bad Internet #184

Open
int-rnd opened this issue Aug 1, 2023 · 1 comment

Comments

@int-rnd
Copy link

int-rnd commented Aug 1, 2023

Idea

See #183 (comment)

True issue - the Auto Disc Ripper is dependent on makemkvcon which periodically requires network connectivity to the mothership for updates. When there is no internet and it's time to check for updates this is a blocking action and prevents makemkvcon from returning and thereby breaks anything dependent on it.

User based solutions:

  • Get your internet back online / allow the container to get to the internet.
  • Set app_UpdateEnable = "0" in settings.conf in /config and restart the container.

Recommendation:

  • Add an environmental variable that configures app_UpdateEnable when the container is stood up. This will help with headless installs and anyone that has crappy internet

Risks of implementing the recommendation:

While MakeMKV is able to run without internet connectivity, the updating is there for a reason. Turing it off and pulling a new container when one is released may leave things in an outdated state. Recommend that if an environmental variable is created that it be defaulted to 1/On so that the user needs to make a conscious decision understanding the risks of turning off this setting.

Lastly - I wonder if this may account for other weirdness with the autodiscripper reported here. Wondering if turning it off may make some other problems go away. A blocking process can break tons of downstream things. When mine broke, it broke in stages and progressively got worse. Once I configured that setting everything came back.

@jlesage
Copy link
Owner

jlesage commented Aug 3, 2023

MakeMKV cannot totally works offline: you might not be able to rip all discs (especially UHD discs), since required keys are downloaded dynamically.

However, I agree that makemkvcon should not block for so long when there is no internet access. Did you also report the issue on the MakeMKV forum ?

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

No branches or pull requests

2 participants