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

Open
opened 2026-02-20 00:15:26 -05:00 by deekerman · 2 comments
Owner

Originally created by @hockeygoalie35 on GitHub (Feb 12, 2024).

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

Originally created by @hockeygoalie35 on GitHub (Feb 12, 2024). **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](https://github.com/RandomNinjaAtk/arr-scripts/assets/7758029/ea3eda56-dadd-41dc-889e-313f987e60ab) To: ![image](https://github.com/RandomNinjaAtk/arr-scripts/assets/7758029/847cce66-a167-474b-adec-824b55f3dd68) 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](https://github.com/RandomNinjaAtk/arr-scripts/assets/7758029/4a4cb366-6557-4f77-96d4-ba52156e4319)
Author
Owner

@akzov commented on GitHub (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

@akzov commented on GitHub (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
Author
Owner

@hockeygoalie35 commented on GitHub (Mar 27, 2024):

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

@hockeygoalie35 commented on GitHub (Mar 27, 2024): 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 in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/arr-scripts#114
No description provided.