Reply to thread

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.sensortypes.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!


Top Bottom