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!)
[Change Request] XmlTv - Hard drive activity.
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="volt" data-source="post: 244203" data-attributes="member: 59489"><p>Hi everyone!</p><p></p><p>I'm on a mission from god! <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /> to avoid unnecessary hard drive activity on my server.</p><p>The reason why I hunt this kind of thing is that I discovered that my hardrive "never" goes to sleep mode on my server. A such a thing could have some impact of the life time of the hard drive. Other considerations is the noice and power consumption (problably not so important for most of us).</p><p></p><p>So one off my many issues to fix, was to take a look at the XmlTv plugin for the Tv-Server.</p><p></p><p>[Current solution:]</p><p>The XmlTv plugin check for changes in the file tvguide.xml every minute. Which ends in some HD activity.</p><p></p><p>[Proposed change request:]</p><p>Instead of polling the file for changes it's possible to use events, with the FileSystemWatcher.</p><p>With that solution you have no hard drive activity at all, you get an event when someone has updated the tvguide.xml file.</p><p></p><p>I have attach the proposed solution (source code) which I also have verified, also attached the log file of the current solution. </p><p></p><p>The log file is created by a tool called Process Monitor and could be used to track HD activty as well as other things. See [File and Disk Utilities] on <a href="http://technet.microsoft.com/sv-se/sysinternals/default(en-us).aspx" target="_blank">Windows Sysinternals: Documentation, downloads and additional resources</a></p><p></p><p>Any feedback or comments are welcome, thanks!</p><p></p><p>BR</p><p>Rickard</p></blockquote><p></p>
[QUOTE="volt, post: 244203, member: 59489"] Hi everyone! I'm on a mission from god! ;) to avoid unnecessary hard drive activity on my server. The reason why I hunt this kind of thing is that I discovered that my hardrive "never" goes to sleep mode on my server. A such a thing could have some impact of the life time of the hard drive. Other considerations is the noice and power consumption (problably not so important for most of us). So one off my many issues to fix, was to take a look at the XmlTv plugin for the Tv-Server. [Current solution:] The XmlTv plugin check for changes in the file tvguide.xml every minute. Which ends in some HD activity. [Proposed change request:] Instead of polling the file for changes it's possible to use events, with the FileSystemWatcher. With that solution you have no hard drive activity at all, you get an event when someone has updated the tvguide.xml file. I have attach the proposed solution (source code) which I also have verified, also attached the log file of the current solution. The log file is created by a tool called Process Monitor and could be used to track HD activty as well as other things. See [File and Disk Utilities] on [url=http://technet.microsoft.com/sv-se/sysinternals/default(en-us).aspx]Windows Sysinternals: Documentation, downloads and additional resources[/url] Any feedback or comments are welcome, thanks! BR Rickard [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
[Change Request] XmlTv - Hard drive activity.
Contact us
RSS
Top
Bottom