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 1
Development
General Development (no feature request here!)
New Config Service Provider
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="hwahrmann" data-source="post: 72067" data-attributes="member: 10391"><p><span style="color: Red">ATTENTION: Please Ignore the instructions below. Due to some errors, we decided to do a static class named MediaPortal.Util.Config instead.</span></p><p></p><p>Hi fellow developers,</p><p></p><p>maybe you have noticed already the new way how logging is done, since a few weeks, using the Service Provider.</p><p></p><p>We have enhanced the Service Provider, to deal with Configurations. </p><p>At the moment it is only used to store Path Information for MediaPortal.</p><p>This allows us to specify for example a ConfigPath, where all the xml files are stored, instead of the Root directory of MediaPortal.</p><p></p><p>So please adjust your Plugins, to use the new model, since after a testing period, we will move all our xml files to a Config Path and you never can't rely on finding mediaportal.xml in the same directory as mediaportal.exe.</p><p></p><p>Configuration of the various Path information is done in MediaPortalConfig.xml.</p><p>Never modify this file itself, as it is a fallback. Instead, copy it to your MyDocuments\Team MediaPortal.</p><p></p><p>Please have a look at the <a href="http://wiki.team-mediaportal.com/MediaPortalDevelopment/ClassLibrary" target="_blank">Wiki</a> on how to use the Service Provider.</p><p></p><p>have fun,</p><p></p><p>Helmut</p></blockquote><p></p>
[QUOTE="hwahrmann, post: 72067, member: 10391"] [COLOR="Red"]ATTENTION: Please Ignore the instructions below. Due to some errors, we decided to do a static class named MediaPortal.Util.Config instead.[/COLOR] Hi fellow developers, maybe you have noticed already the new way how logging is done, since a few weeks, using the Service Provider. We have enhanced the Service Provider, to deal with Configurations. At the moment it is only used to store Path Information for MediaPortal. This allows us to specify for example a ConfigPath, where all the xml files are stored, instead of the Root directory of MediaPortal. So please adjust your Plugins, to use the new model, since after a testing period, we will move all our xml files to a Config Path and you never can't rely on finding mediaportal.xml in the same directory as mediaportal.exe. Configuration of the various Path information is done in MediaPortalConfig.xml. Never modify this file itself, as it is a fallback. Instead, copy it to your MyDocuments\Team MediaPortal. Please have a look at the [URL="http://wiki.team-mediaportal.com/MediaPortalDevelopment/ClassLibrary"]Wiki[/URL] on how to use the Service Provider. have fun, Helmut [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
New Config Service Provider
Contact us
RSS
Top
Bottom