mastiffmushroom/TrackerAutoLogin

[Feature Request] Automatically update `tracker_config.json`

Opened this issue · 1 comments

Currently when new trackers are added the tracker_config.json, the files is not updated unless you delete the local copy first.

I have a couple thoughts around this:

  1. Having a config option to force tracker config updates that allows users to choose if they want this file to be automatically updated. From there a quick diff or version number in the json couple signal if the files needs to be updated.
  2. Alternatively it could be split into common_tracker_config.json and custom_tracker_config.json, where the common_ file will always be auto-updated, and the custom_ file will not be touched and can be where users can specify their own custom configs (though in a perfect world, everyone would push their custom ones upstream to benefit everyone).

This has been updated to update both tracker_config.json and user_config.json with preserving user settings and sorts the entries appropriately. So any new features that are released will not break the previous config and will load default configurations.

I will be pushing this to dockerhub later today and then I will work on adding in something equivalent to common_tracker_config.json and custom_tracker_config.json today. Great idea.