I am trying the achieve the following:
instead of fixing "Advanced Preferences" every here and then when my server does a resilio update and deletes all Advanced Preferences I want the info put into my config.json file which the server executes when starting the service.
Took me a while to figure out that you guys use different names inside Advanced Pref and the .json, but after finally getting around each "invalid key" complain and luckily other people here on the forum which happen to have stuff used in the past I managed to come up with this:
"folder_defaults.use_relay" : false,
"folder_defaults.use_tracker" : false,
"folder_defaults.use_lan_broadcast" : false,
"folder_defaults.known_hosts" : "mylist of hosts seperated by ,"
(interestingly enough the program complains about that folders_defaults.know_hosts MUST NOT BE of Array, although the samples for the individual shared folder examples say it must).
Anyway, neither of the above line works. Every NEW key I add comes up with the respective settings of true, true, true, empty (which is the normal behavior), so my conclusion would be that either "_defaults" do not do anything, or that I put them in the wrong context without managing the program to complain about it at startup.
So my question is, did anyone managed to set this up inside a .json file? Of so, any pointers would be much appreciated.
Edit: The initial statement from me is bs, the Adv Params are exactly named as the ones in the config file, only the sample config put me on the wrong track with the shared folder settings "search_lan" which seems to be "use_lan_broadcast" in the Prefs.