Posts: 3
Joined: Apr 2017
Reputation:
0
Is there a recommended way (or thread describing) detailing how to install or edit advancedsettings.xml? I've installed the latest Kodi test build using my developer account from my Mac - works quite well (thanks!) but have been unable so far to copy over advancedsettings.xml. The add-on "Easy Advanced Settings" is unable to write the xml file for me. I next tried using the file manager to mount a directory from my Mac - using smb://xxxx I get broken pipe errors when trying to mount. The core testing thread first post says that advancedsettings.xml is only available from the File Manager under the confluence skin. I'd be grateful if someone could point me at the right approach.
Posts: 7
Joined: Jun 2012
Reputation:
0
Has anyone managed to do this?
I have played shortly with this and I have managed to do a few things in Kodi 19 ALPHA.
I took a quick look at the code and so far I was not able to find a proper way to do this.
You can easily inject advancedsettings.xml by adding it to .app after it is build build on path:
Kodi.app/AppData/AppHome/system
This is a quick way to do it since Kodi fallbacks to it.
My goal is to be able to add also mediasources.xml and sources.xml, and so far it doesn't look like it is possible without at least some coding, which in the end I'll have to do if nobody else knows some workaround.
Posts: 584
Joined: Oct 2017
Reputation:
85
Fuzzard
Team-Kodi Member
Posts: 584
Copy from a share (SMB/NFS/whatever) you have added via file manager. Just have to restart Kodi for the changes to take effect.
Posts: 584
Joined: Oct 2017
Reputation:
85
Fuzzard
Team-Kodi Member
Posts: 584
backup the container via Xcode once setup and restore is another option for anyone else stumbling across this
Posts: 584
Joined: Oct 2017
Reputation:
85
Fuzzard
Team-Kodi Member
Posts: 584
Yeah, anything xml is saved into NSUserDefaults. This is the only storage we have (500kb), and we stash all xml files into there for some ability to recover from the os data wipe that happens from time to time.
I'll look into an export of the data as a settings option.