Browse The Web / Webbrowser (2 Viewers)

doskabouter

Development Group
  • Team MediaPortal
  • September 27, 2009
    4,583
    2,972
    Nuenen
    Home Country
    Netherlands Netherlands
    Ok, thanks. This I get, but how do I fetch those posx...height values in my plugin code?
     

    cheezey

    Community Plugin Dev
    August 26, 2004
    1,560
    312
    55
    West Yorks, UK
    Home Country
    United Kingdom United Kingdom
    control.XPosition
    control.YPosition

    e.g. I have this in one of my plugins.

    Code:
    private void SetPositionY(GUIControl control, Int32 currentY, Int32 adjustY)
    {
        control.SetPosition(control.XPosition, currentY - adjustY);
    }
     

    doskabouter

    Development Group
  • Team MediaPortal
  • September 27, 2009
    4,583
    2,972
    Nuenen
    Home Country
    Netherlands Netherlands
    And the control comes from? Jeez, I'm feeling more and more like a noob :)
     

    robcarter

    Portal Pro
    February 19, 2010
    99
    4
    Home Country
    England England
    Hi
    not sure if anyone can help but this site:
    http://wattsupwiththat.com/
    locks up the plugin, only way out is to stop mp is by using the task manager, i have looked for logs but cant find any does browsetheweb write any logs?
    thanks
    rob
     

    doskabouter

    Development Group
  • Team MediaPortal
  • September 27, 2009
    4,583
    2,972
    Nuenen
    Home Country
    Netherlands Netherlands
    Browsetheweb logs in the mediaportal.log, but that's not going to help here.

    Mediaportal goes into 100% CPU usage while viewing this website. I tried with a simple application using the xulrunner engine, and some thread in clr.dll (one of the .NET framework dll's) takes the 100% CPU.

    Not sure what the root cause of this is, perhaps updating the xulrunner might solve it, but for that to work, I have to figure a way of getting the zooming to work in the new version...
     

    Users who are viewing this thread

    Top Bottom