MediaPortal Forums HTPC/MediaCenter

Sponsored Ads

Go Back   MediaPortal Forum » MediaPortal 1 » Community Skins and Plugins » Plugins

Plugins Plugins developed and maintained by users. Want to create your own plugin? Start a thread in here.

Reply
 
LinkBack Thread Tools Display Modes
Old 2008-05-17, 17:22   #1 (permalink)
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, 49 views)

Last edited by dannyb0y; 2008-05-17 at 17:23. Reason: spelling
dannyb0y is offline   Reply With Quote
Old 2008-05-22, 08:05   #2 (permalink)
Portal Member
 
Join Date: Mar 2008
Posts: 16
Thanks: 0
Thanked 1 Time in 1 Post


Default

Interesting work dannyb0y!

I have not tried it yet, maybe tonight.
I have a question about this.

- If you cycle through the refreshrates, is it displayed what the actual refreshrate is at that moment after switching? Like for 10 seconds or something.
- Is it possible to make the plugin to detect the refreshrate of the movie/dvd/hddvd upon opening? Or just display the FPS of the media.


Great work Dannyboy!!! There is a need for this kind of software. Thanks!
edterbak is offline   Reply With Quote
Old 2008-05-27, 13:32   #3 (permalink)
Portal Member
 
Join Date: Feb 2006
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Hello.
As I said it is very simple, and it does not show any information about current refresh rate. But my TV shows current resolution and refresh rate when it changes.

I Hope someone can take the source code and implement it in some sort of plugin that can detect the refresh rate of current playing video.
dannyb0y is offline   Reply With Quote
Old 2008-06-18, 21:50   #4 (permalink)
Portal Member
 
Join Date: Aug 2007
Posts: 107
Thanks: 1
Thanked 0 Times in 0 Posts

Country:

My System

Default

There is already such plugin, RefreshRateControl.
seco is offline   Reply With Quote
Old 2008-06-19, 03:06   #5 (permalink)
Portal Tester
 
Join Date: Feb 2005
Location: Melbourne
Posts: 1,868
Thanks: 4
Thanked 13 Times in 13 Posts

Country:

My System

Default

Quote:
Originally Posted by seco View Post
There is already such plugin, RefreshRateControl.
But RefreshRateControl doesn't work with DVDs or with TV ....
Taipan is offline   Reply With Quote
Old 2008-06-19, 09:16   #6 (permalink)
Portal Member
 
Join Date: Aug 2007
Posts: 107
Thanks: 1
Thanked 0 Times in 0 Posts

Country:

My System

Default

Ummmm, yes it does? At least with TV if I remember correct.
seco is offline   Reply With Quote
Old 2008-06-20, 09:40   #7 (permalink)
Portal Member
 
Join Date: Feb 2006
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts


Default

My plugin works without any thirdparty products installed. I dont think any other plugin does...
This is only some sort of proof of concept. I hope someone take my source and develop a real plugin that get the framerate of the video played and change the refresh rate automatically
dannyb0y is offline   Reply With Quote
Old 2008-06-20, 10:00   #8 (permalink)
Portal Member
 
Join Date: Aug 2007
Posts: 107
Thanks: 1
Thanked 0 Times in 0 Posts

Country:

My System

Default

Quote:
Originally Posted by dannyb0y View Post
My plugin works without any thirdparty products installed. I dont think any other plugin does...
This is only some sort of proof of concept. I hope someone take my source and develop a real plugin that get the framerate of the video played and change the refresh rate automatically
Does it work with modes like "23.976Hz" ?
seco is offline   Reply With Quote
Old 2008-06-24, 12:20   #9 (permalink)
Portal Member
 
Join Date: Feb 2006
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Quote:
Originally Posted by seco View Post

Does it work with modes like "23.976Hz" ?
If you can set this mode in windows you can also set it with my code. but does your tv support that refresh rate?
dannyb0y is offline   Reply With Quote
Old 2008-06-24, 12:56   #10 (permalink)
Portal Member
 
Join Date: Aug 2007
Posts: 107
Thanks: 1
Thanked 0 Times in 0 Posts

Country:

My System

Default

We'll soon find out, it just arrived from Germany
seco is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multi-disk Changer jeffp General Support 31 2008-06-01 15:18
Will the refreshrate control also support refreshrate change for external player ? Gizzmo General Talk 0 2008-01-27 11:25
Changer Hack development questions... bigdude My Films 8 2007-11-20 17:06
Simple (yet not too simple) Hardware set up... pochrist Installation, configuration support 3 2007-07-04 04:49
Skin/Theme changer Autoper Improvement Suggestions 0 2005-02-19 02:51


All times are GMT +1. The time now is 05:32.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Integrated by BBpixel ©2004-2008, jvbPlugin

Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress