[Plugin] Browse The Web / Webbrowser (1 Viewer)

Status
Not open for further replies.

JiRo

MP Donator
  • Premium Supporter
  • May 1, 2009
    184
    44
    Prague
    Home Country
    Czech Republic Czech Republic
    Hi all,

    here is my experimental build of the Browse The Web plugin with "call with parameter". Because I'm not programmer, pleas be inguldent. I changed only parts with parameters reading and processing. All other known issues I didn't address and I won't continue to develop on plugin. It is Kroko's work ;).

    If you want to test it, I recommend that you back up official build before use the experimental one.

    For the inspiration I attached source modul with my changes too.

    Here is an example of the using in the MovingPictures plugin GUI - IMDb movie page showing, IMDb Id (ttxxxxxx) is stored in the #MovingPictures.SelectedMovie.imdb_id variable:

    <control>
    <description>Movie Info</description>
    <type>button</type>
    <id>66624</id>
    <label>IMDb Info</label>
    <hyperlink>54537689</hyperlink>
    <hyperlinkParameter>http://www.imdb.com/title/#MovingPictures.SelectedMovie.imdb_id</hyperlinkParameter>
    <onup>66623</onup>
    <onright>6</onright>
    <ondown>66621</ondown>
    </control>

    JiRo.
     

    Attachments

    • Browse The Web.zip
      76.5 KB

    tony72

    MP Donator
  • Premium Supporter
  • August 15, 2009
    180
    61
    Home Country
    England England
    kroko, thanks for this plugin, it's very useful; I hope you keep developing it.

    The only thing I'd put on the wish-list is a virtual mouse mode to control the mouse cursor with the arrows on the remote; at the moment if you want to e.g. start an embedded flash video, there's no way to do it with the remote, unless I missed something.
     

    tony72

    MP Donator
  • Premium Supporter
  • August 15, 2009
    180
    61
    Home Country
    England England
    userjan thanks for that, that looks like it might do the trick. I hadn't come across that, I'll check it out.
     

    mironto

    Portal Pro
    March 15, 2010
    71
    6
    Home Country
    Slovakia Slovakia
    This will not help if you have Browse The Web set to browse by ID (where each link gets unique ID and you can follow the link by typing the number on keyboard/remote). In such a case the mouse is disabled, so even if you have actual mouse connected, you will not be able to play flash video or anything similar as you cannot click on any link/control.

    We need to have a way to enable the mouse even if browse by ID is active.
     

    doskabouter

    Development Group
  • Team MediaPortal
  • September 27, 2009
    4,646
    3,102
    Nuenen
    Home Country
    Netherlands Netherlands
    Hi, I just noticed that with mediaportal 1.1.3, the mpeinstaller shows that a new version is available (0.3.0), but that one doesn't work in 1.1.3!

    Also, when I select 0.2.7 from the mpeinstaller, it downloads 0.3.0, so there is probably an incorrect reference somewhere. The 0.2.7 download from the first post worked ok.
     

    Guzzi

    Retired Team Member
  • Premium Supporter
  • August 20, 2007
    2,161
    747
    AW: [Plugin] Browse The Web / Webbrowser

    funktioniert gut, nur hast du die buttons esc und back verwechselt.
    damit ich wieder zurück zu mp komme muss ich jetzt immer die tastatur (esc) nehmen.:(

    works well, only you have the buttons back esc and confused.
    so I must get back to mp I am now always take the keyboard (esc).:(
    I had the same problem - fix in code is imho just one line - patch attached.
    @diskeeper, can you confirm this fixes the problem for you too?
    Would be nice, if this could be included for future versions.
    Thanks,
    Guzzi
     

    Attachments

    • BrowseTheWeb-dll.zip
      66.4 KB
    • BtowseTheWeb-RemoteReturn.patch
      455 bytes

    SilentException

    Retired Team Member
  • Premium Supporter
  • October 27, 2008
    2,617
    1,130
    Rijeka, Croatia
    Home Country
    Croatia Croatia
    Re: AW: [Plugin] Browse The Web / Webbrowser

    funktioniert gut, nur hast du die buttons esc und back verwechselt.
    damit ich wieder zurück zu mp komme muss ich jetzt immer die tastatur (esc) nehmen.:(

    works well, only you have the buttons back esc and confused.
    so I must get back to mp I am now always take the keyboard (esc).:(
    I had the same problem - fix in code is imho just one line - patch attached.
    @diskeeper, can you confirm this fixes the problem for you too?
    Would be nice, if this could be included for future versions.
    Thanks,
    Guzzi

    This is a workaround but core of the problem is that base.OnAction isn't called. I'm not sure why kroko decided not to call base method since I couldn't see anything wrong after adding it. If really needed, base call can be skipped for certain actions with return.
     

    fischy667

    Super User
  • Team MediaPortal
  • Super User
  • May 5, 2010
    967
    290
    42
    Rostock
    Home Country
    Germany Germany
    Re: AW: [Plugin] Browse The Web / Webbrowser

    funktioniert gut, nur hast du die buttons esc und back verwechselt.
    damit ich wieder zurück zu mp komme muss ich jetzt immer die tastatur (esc) nehmen.:(

    works well, only you have the buttons back esc and confused.
    so I must get back to mp I am now always take the keyboard (esc).:(
    I had the same problem - fix in code is imho just one line - patch attached.
    @diskeeper, can you confirm this fixes the problem for you too?
    Would be nice, if this could be included for future versions.
    Thanks,
    Guzzi

    WORKING!!!
    Thanks!!!
     
    Status
    Not open for further replies.

    Users who are viewing this thread

    Top Bottom