[MOD] Online Lookup (3 Viewers)

Pog

Retired Team Member
  • Premium Supporter
  • September 7, 2009
    401
    315
    Wicklow
    Home Country
    Ireland Ireland
    Re: AW: [MOD] Online Lookup

    Is this compatible to the newest skin version ?

    Yes the current mod works fine with the latest version of the skin.

    I'll have an update for this mod soon with support for recorded/scheduled tv and online searches for items in the online-videos plugin.
     

    D3ltoroxp

    MP Donator
  • Premium Supporter
  • June 1, 2008
    3,308
    205
    Home Country
    Germany Germany
    AW: [MOD] Online Lookup

    Oh that sounds good. I have a feature request, can you add this site for searching ?? This is good source for german series ::: www.serienjunkies.de

    Does your mod works also in TV Guide ? That where great, when i see an series i can got to your dialog choose serienjunkies and can see what for a series this is.
     

    Pog

    Retired Team Member
  • Premium Supporter
  • September 7, 2009
    401
    315
    Wicklow
    Home Country
    Ireland Ireland
    It works with TV guide and also for the current fullscreen TV program your watching.

    If you would like a particular site you could have a go at changing the xml file. Load it up in any text editor and change any of the search strings.

    Also there is a German version (done by another user) that uses the German google site for searches, have a look back in this tread.
     

    D3ltoroxp

    MP Donator
  • Premium Supporter
  • June 1, 2008
    3,308
    205
    Home Country
    Germany Germany
    AW: [MOD] Online Lookup

    Hm a german version i don't find, but a dutch version, did you mean that ?

    OK is this right for serienjunkies.de ?

    <control>
    <description>Serienjunkies.de</description>
    <type>button</type>
    <id>4411</id>
    <onleft>3</onleft>
    <onright>2</onright>
    <label>Wiki</label>
    <textXOff>68</textXOff>
    <textYOff>8</textYOff>
    <width>508</width>
    <height>42</height>
    <font>mediastream12c</font>
    <textureFocus>dialogmenubutton.png</textureFocus>
    <keepaspectratio>yes</keepaspectratio>
    <hyperlink>54537689</hyperlink>
    <hyperlinkParameter>#(switch(
    and(eq(#currentmoduleid,'504'),neq(#music.title,'')), 'http://www.google.de/search?q=site:Serienjunkies.de+(song)+"#music.title"+"#music.artist"&amp;btnI',
    and(eq(#currentmoduleid,'504'),neq(#music.album,'')), 'http://www.google.de/search?q=site:Serienjunkies.de+(album)+"#music.album"&amp;btnI',
    eq(#currentmoduleid,'504'), 'http://www.google.de/search?q=site:Serienjunkies.de+(band)+"#selecteditem"&amp;btnI',
    eq(#currentmoduleid,'510'), 'http://www.google.de/search?q=site:Serienjunkies.de+"#Play.Current.Artist"&amp;btnI',
    and(eq(#currentmoduleid,'600'),neq(#TV.Guide.Title,'')), 'http://www.google.de/search?q=site:Serienjunkies.de+"#TV.Guide.Title"+(tv series)&amp;btnI',
    and(eq(#currentmoduleid,'602'),neq(#TV.View.title,'')), 'http://www.google.de/search?q=site:Serienjunkies.de+"#TV.View.title"+(tv series)&amp;btnI',
    and(eq(#currentmoduleid,'9811'),neq(#TVSeries.Series.Pretty_Name,'')), 'http://www.google.de/search?q=site:Serienjunkies.de+"#TVSeries.Series.Pretty_Name"+(tv series)&amp;btnI',
    and(eq(#currentmoduleid,'96742'),neq(#MovingPictures.SelectedMovie.title,'')), 'http://www.google.de/search?q=site:Serienjunkies.de+"#MovingPictures.SelectedMovie.title"+(movie)&amp;btnI',
    eq(1,1), 'http://www.google.de/'
    ))</hyperlinkParameter>
    <visible>plugin.isenabled(BrowseTheWeb)+[[window.isvisible(504)+!string.equals(#selecteditem,..)+string.equals(#selecteditem)]|[window.isvisible(510)]|[window.isvisible(600)]|[window.isvisible(602)]|[window.isvisible(9811)]|[window.isvisible(96742)+!control.isvisible(51)]]</visible>
    </control>
     

    Pog

    Retired Team Member
  • Premium Supporter
  • September 7, 2009
    401
    315
    Wicklow
    Home Country
    Ireland Ireland
    Doh! your right it's Dutch.

    This should work but I've not tested it. Just insert it into the xml file at the point where you want it to be in the list.


    Code:
          <control>
            <description>Serienjunkies</description>
            <type>button</type>
            <id>4450</id>
            <onleft>3</onleft>
            <onright>2</onright>
            <label>SERIENJUNKIES</label>
            <textXOff>68</textXOff>
            <textYOff>8</textYOff>
            <width>508</width>
            <height>42</height>
            <font>mediastream12c</font>
            <textureFocus>dialogmenubutton.png</textureFocus>
            <keepaspectratio>yes</keepaspectratio>
            <hyperlink>54537689</hyperlink>
            <hyperlinkParameter>#(switch(
              and(eq(#currentmoduleid,'600'),neq(#TV.Guide.Title,'')), 'http://www.google.de/search?q=site:www.serienjunkies.de+"#TV.Guide.Title"&amp;btnI',
              and(eq(#currentmoduleid,'602'),neq(#TV.View.title,'')), 'http://www.google.de/search?q=site:www.serienjunkies.de+"#TV.View.title"&amp;btnI',
              and(eq(#currentmoduleid,'9811'),neq(#TVSeries.Series.Pretty_Name,'')), 'http://www.google.de/search?q=site:www.serienjunkies.de+"#TVSeries.Series.Pretty_Name"+(tv series)&amp;btnI',
              and(eq(#currentmoduleid,'96742'),neq(#MovingPictures.SelectedMovie.title,'')), 'http://www.google.de/search?q=site:www.serienjunkies.de+#MovingPictures.SelectedMovie.title+movie&amp;btnI',
              eq(1,1), 'http://www.google.de/search?q=site:www.serienjunkies.de+#selecteditem&amp;btnI'
              ))</hyperlinkParameter>
            <visible>plugin.isenabled(BrowseTheWeb)+[[window.isvisible(4755)+string.equals(#itemtype,Videos)]|window.isvisible(600)|window.isvisible(601)|window.isvisible(602)|window.isvisible(603)|window.isvisible(9811)|[window.isvisible(96742)+!control.isvisible(51)]]</visible>
          </control>
     

    D3ltoroxp

    MP Donator
  • Premium Supporter
  • June 1, 2008
    3,308
    205
    Home Country
    Germany Germany
    AW: [MOD] Online Lookup

    Hm when i will click on serienjunkies he jumps over it i can't select serienjunkies.
     

    Pog

    Retired Team Member
  • Premium Supporter
  • September 7, 2009
    401
    315
    Wicklow
    Home Country
    Ireland Ireland
    Re: AW: [MOD] Online Lookup

    Can you upload your "DialogMenu.xml" file and I'll have a look.
     

    D3ltoroxp

    MP Donator
  • Premium Supporter
  • June 1, 2008
    3,308
    205
    Home Country
    Germany Germany
    AW: [MOD] Online Lookup

    ok i will make it later thanks !!! I'm not on the htpc right now.

    EDIT:: so here are my xml,thanks for looking...
     

    Attachments

    • DialogMenu.xml
      28.7 KB

    Pog

    Retired Team Member
  • Premium Supporter
  • September 7, 2009
    401
    315
    Wicklow
    Home Country
    Ireland Ireland
    Hi this should work for you. I also fixed your imdb and wiki to fully use the German sites.
     

    Attachments

    • DialogMenu.xml
      28 KB

    D3ltoroxp

    MP Donator
  • Premium Supporter
  • June 1, 2008
    3,308
    205
    Home Country
    Germany Germany
    AW: [MOD] Online Lookup

    I've made a failure ? And when comes your update, have you talked about a few lines earlier ?
     

    Users who are viewing this thread

    Top Bottom