Stocks & Indices plugin v1.9.1 for MediaPortal (deprecated) (1 Viewer)

Scrounger

Retired Team Member
  • Premium Supporter
  • January 21, 2009
    1,032
    514
    Stuttgart
    Home Country
    Germany Germany
    Re: Stocks & Indices plugin for MediaPortal v0.5.1

    Sphero:
    It is possible, but you must edit manually your basichome.xml file.

    take a look into my common.overlay.Stocks.xml file. The stocks are shwon if the tv button hasfocus and the drop down menu is visible.
    For your idea, you must change the visbiliy condition to the id of the stocks button in BasicHome.xml.

    e.g. <visible>Control.HasFocus(Id)</visible>
     

    Attachments

    • common.overlay.Stocks.xml
      30.7 KB

    Sphero

    Portal Pro
    June 4, 2008
    82
    0
    Home Country
    Netherlands Netherlands
    Re: Stocks & Indices plugin for MediaPortal v0.5.1

    Hey Scrounger, thanks for the info.

    This is what I have done now:
    1) I opened the BasicHome.XML and extracted all the weather overlay code and put in it common.overlay.weather.xml
    2) Added the line <import>common.overlay.weather.xml</import> on the bottom of BasicHome.XML so the weather is displayed again.
    3) Duplicated the file common.overlay.weather.xml to common.overlay.stocks.xml
    4) Added the line <import>common.overlay.stocks.xml</import> on the bottom of BasicHome.XML
    5) Changed the id focus to 1209 (STOCK ID in the basic home)

    Now I can see the weather details when hovering over the STOCK menuitem.

    Last I changed the DAY 1 LABEL and set it to <label>#Stocks.TopIndex0Name</label>
    Apparently there is no data to be shown. Although I did configure the plugin.

    Any suggestions?
     

    Attachments

    • BasicHome.xml
      30.6 KB
    • common.overlay.stocks.xml
      30.7 KB
    • common.overlay.weather.xml
      30.7 KB

    Scrounger

    Retired Team Member
  • Premium Supporter
  • January 21, 2009
    1,032
    514
    Stuttgart
    Home Country
    Germany Germany
    Re: Stocks & Indices plugin for MediaPortal v0.5.1

    Hmm i dont find the failure.

    In Stock Config, do you have unchecked the "Refresh only, if windows is opened"?

    Other solution, Try to import my commoen.overlay.Stock.xml and change there the visible condition.
     

    Sphero

    Portal Pro
    June 4, 2008
    82
    0
    Home Country
    Netherlands Netherlands
    Re: Stocks & Indices plugin for MediaPortal v0.5.1

    Sure I can.

    Is there also a #Stocks.TopIndex0Change and #Stocks.TopIndex0ChangePercantage which should represent the rate change in numeric value and percentage value?
     

    Scrounger

    Retired Team Member
  • Premium Supporter
  • January 21, 2009
    1,032
    514
    Stuttgart
    Home Country
    Germany Germany
    Re: Stocks & Indices plugin for MediaPortal v0.5.1

    Is there also a #Stocks.TopIndex0Change and #Stocks.TopIndex0ChangePercantage which should represent the rate change in numeric value and percentage value?

    #Stocks.Index"0-2"Change and #Stocks.Index"0-2"ChangePercantage has the same effect. i thought that TopX means the stocks / indicies with biggest differenz on a day?
    But it shows all the time the frist three entries of a list.
     

    Sphero

    Portal Pro
    June 4, 2008
    82
    0
    Home Country
    Netherlands Netherlands
    Re: Stocks & Indices plugin for MediaPortal v0.5.1

    Yes I know, but are these properties available?

    I don't know the properties to show the rate change in numeric value or in percentages.
     

    Scrounger

    Retired Team Member
  • Premium Supporter
  • January 21, 2009
    1,032
    514
    Stuttgart
    Home Country
    Germany Germany
    Re: Stocks & Indices plugin for MediaPortal v0.5.1

    .....Stocks & Indices for MediaPortal.pdf

    First Post :D

    Edit:
    I forgot the time and the result is ;)
    common.overlay.Stocks2.jpg

    Perhaps some can make smaller bg *.png files, im not very well in graphic edting.
     

    Attachments

    • common.overlay.Stocks2.xml
      30.7 KB

    Sphero

    Portal Pro
    June 4, 2008
    82
    0
    Home Country
    Netherlands Netherlands
    Re: Stocks & Indices plugin for MediaPortal v0.5.1

    This is my creation.

    Item0: Index0
    • Index0Name
    • Index0PreviousClose
    • Index0Last
    • Index0Change
    • Index0PercentChange
    • Index0Indicator
    Item1: Index1
    • Index1Name
    • Index1PreviousClose
    • Index1Last
    • Index1Change
    • Index1PercentChange
    • Index1Indicator
    Item2: Stock0
    • Stock0Name
    • Stock0PreviousClose
    • Stock0Last
    • Stock0Change
    • Stock0PercentChange
    • Stock0Indicator
    Item3: Stock1
    • Stock1Name
    • Stock1PreviousClose
    • Stock1Last
    • Stock1Change
    • Stock1PercentChange
    • Stock1Indicator
    Item4: Currency0
    • Currency0Name
    • Currency0Date
    • Currency0Indicator

    I noticed the #Stocks.Currency0PreviousClose, #Stocks.Currency0Change and #Stocks.Currency0PercentChange properties are not available. Perhaps this can be included later. The data is available on Yahoo Finance.
     

    Attachments

    • common.overlay.stocks.jpg
      common.overlay.stocks.jpg
      539.2 KB
    • BasicHome.xml
      30.6 KB
    • common.overlay.stocks.xml
      30.7 KB
    • common.overlay.weather.xml
      30.7 KB

    Users who are viewing this thread

    Top Bottom