RandomNinjaAtk / arr-scripts

Extended Container Scripts - Automation scripts to make life easier!
GNU General Public License v3.0
761 stars 75 forks source link

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

Open hockeygoalie35 opened 9 months ago

hockeygoalie35 commented 9 months ago

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:

Go from: image

To:

image

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

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:

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

Flow chart: image

akzov commented 8 months ago

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 commented 8 months ago

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