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] - Lidarr Extended - extended.conf Updater #194

Open
hockeygoalie35 opened this issue Feb 12, 2024 · 2 comments
Open

[FEATURE] - Lidarr Extended - extended.conf Updater #194

hockeygoalie35 opened this issue Feb 12, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@hockeygoalie35
Copy link
Contributor

Is your feature request related to a problem? Please describe.
This would assist with the auto-updating/updating of extended.conf, as well as prevent #189 from happening again.

Describe the solution you'd like
To implement this feature, there would need to be 2 things done:

  • Update extended.conf from its current format to an "ini' file type format. It's already very close.

Go from:
image

To:

image

This would allow easy parsing of the conf file, by other languages (already have it working in Python).

  • On startup, a python script can parse the local conf, download the current repo's conf, compare the two, and add any new values missing.

This could either update the user's conf on each restart, or it can be the new/alternate way to update the conf file by running the py script. If it is done on start, I believe the script would need to be called by setup.bash, for the changes to happen before the other scripts start up. A flag can also be added to extended.conf so the user has the option to turn this off.

Risks:

  • Wiping out the user's extended.conf.
  • Transferring users' format to ini format. This would have to be pushed somehow. I suppose I could use the current format, but it may be cumbersome to parse (currently how it is in ARLChecker).

I understand this is a somewhat risky change. Thoughts appreciated!

Flow chart:
image

@hockeygoalie35 hockeygoalie35 added the enhancement New feature or request label Feb 12, 2024
@akzov
Copy link

akzov commented Mar 4, 2024

Better than having the Kodi script and renaming features turn themselves on randomly without warning and having all your content unexpectedly renamed and changed

@hockeygoalie35
Copy link
Contributor Author

An update, I have a prototype working. Just need to make the error checking and redundency more robust. Don't want to be wiping out user' settings. 😋

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

No branches or pull requests

2 participants