URL link in the Moving Pictures detail (1 Viewer)

JiRo

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

    I have modified Browse The Web plugin with the call with parameter function. It is only experimental modification (not for official using, because I'm not author of this plugin), but I have used it by the my implementation idea.

    Here is an example of the using call with parameter for Browse The Web plugin in the Moving Pictures detail page (BlackGlass skin):

    <control>
    <description>Movie Info</description>
    <id>66623</id>
    <type>button</type>
    <label>CSFD Info</label>
    <hyperlink>54537689</hyperlink>
    <hyperlinkParameter>#MovingPictures.SelectedMovie.details_url</hyperlinkParameter>
    <onup>66622</onup>
    <onright>6</onright>
    <ondown>66624</ondown>
    </control>

    <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>

    First button shows page with movie info from www.CSFD.cz - I use Czech scraper CSFD.xml and this scraper saves CSFD page URL to #MovingPictures.SelectedMovie.details_url variable. Second one shows info about the same movie but from The Internet Movie Database (IMDb) - IMDb id is stored in the #MovingPictures.SelectedMovie.imdb_id variable.

    How simpe, huh? :D

    And one picture at the end (MediaPortal 1.2.0, Black Glass SVN skin with my mod). The first button has name CSFD Info and the second button IMDb Info:

    jiro-albums-various-picture653-18-59-17.png


    JiRo.
     

    Users who are viewing this thread

    Top Bottom