My plugins use the MediaPortal.Profile.Xml object to read/store config info. Currently, I do the following to load the config:
I then read/write what I want, and finally call
to save any changes.
This strikes my as incorrect. How should I be getting the config, and how (if I should be at all) should I be saving it?
(I have noticed that in the latest CVS version the Xml object no longer has a Save() Method.)
Code:
Xml xmlreader = new Xml("MediaPortal.xml");
Code:
xmlreader.Save();
This strikes my as incorrect. How should I be getting the config, and how (if I should be at all) should I be saving it?
(I have noticed that in the latest CVS version the Xml object no longer has a Save() Method.)