View Single Post
Old 2008-05-17, 17:22   #1 (permalink)
dannyb0y
Portal Member
 
Join Date: Feb 2006
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts


Default A very simple Refreshrate changer

Hello, I just did a very simple refresh rate changer.
I modified the MPTrayMod "Input plugin" (MEDIAPORTAL - free MediaCenter HTPC Software - MpTrayMod.
It works very simple, it just cycles the refreshrates that i specifies in the config file.

To cycle refreshrate just press the red button on the MCE remote. I think it only works to change refreshrate when NOT playing any movie.

If you want you can try it and/or modify it. I include the source code.

sample of the config file:

<applicationSettings>
<MediaPortal.RefreshRateSettings>
<setting name="RefreshRates" serializeAs="Xml">
<value>
<ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<string>24</string>
<string>50</string>
<string>60</string>
</ArrayOfString>
</value>
</setting>
<setting name="MonitorIndex" serializeAs="String">
<value>0</value>
</setting>
</MediaPortal.RefreshRateSettings>
</applicationSettings>

As I said it is very simple and can be much better. It has no log or errorhandling. Feel free to fix it.

It uses win32 api and does not require any third party product to be installed.
Attached Files
File Type: zip mptray-mod-RefreshRate.zip (378.7 KB, 54 views)

Last edited by dannyb0y; 2008-05-17 at 17:23. Reason: spelling
dannyb0y is offline   Reply With Quote