home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 2
Testing Area
Development Snapshots
MediaPortal 2 development snapshot (2014-12-19)
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="MJGraf" data-source="post: 1116607" data-attributes="member: 17886"><p>Perfect, osre! That's how it is currently already done in some parts of the code (i.e. when the setting is loaded, in the next line of code, we just write it to disk). The right solution is imho that when you load a setting and it does not exist on the disk, yet, the SettingsManager should automatically save the file with default settings to disk. That way we can remove the workarounds in the code where we load and manually save...</p><p></p><p>It would be very strange if this side effect is caused by the ServerSettings.xml file - maybe if you have done your patch in a way so that all settings files are written to disk (not only ServerSettings.xml) but even in this case, the behavior described would be a bug...</p></blockquote><p></p>
[QUOTE="MJGraf, post: 1116607, member: 17886"] Perfect, osre! That's how it is currently already done in some parts of the code (i.e. when the setting is loaded, in the next line of code, we just write it to disk). The right solution is imho that when you load a setting and it does not exist on the disk, yet, the SettingsManager should automatically save the file with default settings to disk. That way we can remove the workarounds in the code where we load and manually save... It would be very strange if this side effect is caused by the ServerSettings.xml file - maybe if you have done your patch in a way so that all settings files are written to disk (not only ServerSettings.xml) but even in this case, the behavior described would be a bug... [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Testing Area
Development Snapshots
MediaPortal 2 development snapshot (2014-12-19)
Contact us
RSS
Top
Bottom