| |||||||
| General Development (no feature request here!) You were able to fix an issue, or improved a feature? Post it here. |
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Portal Member Join Date: Jul 2006 Location: Wakefield Age: 27
Posts: 156
Thanks: 1
Thanked 1 Time in 1 Post
Country: | Im trying to call an external string, and not sure how to do it. Ive been editing a few skins in the last 2 weeks and i got vis studio about 2 hours ago so i guess that classes me as a newbie eh! Specifically Im trying to get cpu temp & load in the basic home screen. from my status plugin. im getting this from visual c I think its something like putting a contol, lable as #mediaportal.gui.guistatus.sensortypes this is where im stuck as in vis studio ive got MediaPortal.GUI.GUIStatus\ GUIstatus.sensortypes\ Listed in here is temperature,fan,hd I believe these are the variables i want but i dont know how to format the lable so it calls these. This is my guess at it and what i think they are there for <control> <description>actual sensor</description> --- my description, can be whatever i want?? <type>label</type> <id>123123123</id> --- a unused number (at least in this page) <posX>450</posX> <posY>220</posY> <label>#mediaportal.gui.guistatus.guistatus.sensor types.hd</label> -- called from mystatus, obviously wrong, im trying to follow the paths as they are in the class window <font>font14</font> <align>left</align> <textcolor>ffffffff</textcolor> </control> Yeah i know, Im just guessing here but i dont really know where to start. once i get the theory round these im flying so if someone can help id really appreciate it!
__________________ Is there anything MP dosent do? Oh Yeah, Can someone write a Make Dinner Plugin? |
| | |
| |
| | #2 (permalink) | |
| Portal Member Join Date: Apr 2005 Location: Southeast Age: 36
Posts: 600
Thanks: 5
Thanked 34 Times in 23 Posts
Country: | Quote:
If I understand want you are wanting correctly I think you will have to check the My Status plugin. I think what you are looking for is a "Property" that would be set in the My Status plugin and in turn be available in the skin. Setting a property might look something like: MediaPortal.GUI.Library.GUIPropertyManager.SetProp erty("#statusfanspeed", fanSpeed.ToString()); Note: I have never looked at the My Status plugin. HTH, patrick | |
| | |
![]() |
| Bookmarks |
| Tags |
| calling, external, needed, newbie, string |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ASUS WDM TV/FM 7134 is supported | River Mead | General Support | 6 | 2007-08-27 15:12 |
| Help with TVServer and client | rick78 | Get Support | 8 | 2006-12-12 18:48 |
| [BUG] Unable to scan TV chanels and radio | Bram | pre 1.0 RC1 | 0 | 2006-11-05 13:45 |
| Avermedia A169 Dual tuner - not supported!!! | The Fan | General Support | 5 | 2005-12-25 10:52 |
| RC2 causes laptop to hibernate every 5 mins | ms2005 | MediaPortal 1 Talk | 6 | 2005-12-19 14:26 |