TV Server Plugin: TvWishList (1 Viewer)

huha

Extension Developer
January 3, 2008
890
556
Home Country
Germany Germany
Pog, this is awesome. If i understand i can get from the program info screen the selected program id in some way. i will contact you after the version is stable. This would be exactly what i am looking for.

HomeY, Jiro, ifI understand correct this is happening occasionally and once you got it working it works for ever? No more errors? I will need to dig deeper into that and may be try a connect loop. if someone encounters a similar problem please test if y<ou can ping the server after an error occured.
To avoid the conflicts just uncheck the setting on the tv server for conflicts. This was a defaultsetting which did change.

regurge, i suspect you mixed up name and search for. By default they have the same name. If you changed the name it is still searching for test. If this is not the case put verbose debug on and provide a log.
 

Pog

Retired Team Member
  • Premium Supporter
  • September 7, 2009
    401
    315
    Wicklow
    Home Country
    Ireland Ireland
    Pog, this is awesome. If i understand i can get from the program info screen the selected program id in some way. i will contact you after the version is stable. This would be exactly what i am looking for.

    Yes indeed, if another plugin or in this case the TV guide uses a context menu then the selected items text can be used as a hyperlink parameter. You should be able to read this text from a MP variable when the TVwishList window is opened. The skin mod adds a button to dialogmenu.xml to activate a plugin with the selected text.
     

    HomeY

    Test Group
  • Team MediaPortal
  • February 23, 2008
    6,418
    4,717
    50
    ::1
    Home Country
    Netherlands Netherlands
    HomeY, Jiro, ifI understand correct this is happening occasionally and once you got it working it works for ever? No more errors?

    Yep, since i re-installed the server part it's working (and scheduling).
     

    huha

    Extension Developer
    January 3, 2008
    890
    556
    Home Country
    Germany Germany
    Attached i am posting the zipped files for tv server only installation (same test version as the last mpei).
    Just unzip to a folder and run install.exe.
     

    Attachments

    • TvWishListV1.2.2.7.Release.zip
      4.5 MB

    pur_berger

    Super User
  • Team MediaPortal
  • Super User
  • May 14, 2007
    1,678
    312
    53
    Vienna
    Home Country
    Austria Austria
    Purburger, I am not understanding what TvWishList has to do with changing channels.

    On my Receiver I have a reminder tool where I can set a certain Program for a certain time and an Action (Inform - switch to) so when - don't know - watching a show on one channel and don't want to miss the news on another I can set a reminder based on the EPG wich takes the programmed action (switch to or Info)
     

    Pog

    Retired Team Member
  • Premium Supporter
  • September 7, 2009
    401
    315
    Wicklow
    Home Country
    Ireland Ireland
    Hi huha, I've put together a mod for dialogmenu.xml for you to check out as a potential way of sending a tv guide program name to TvWishList.

    This adds a button to the context menu, when INFO is pressed it will show a button to activate TvWishList. There is some debug text to show you what will be sent.

    The skin mod will activate for TV Guide, TV Recordings, TV Schedules, TV Fullscreen and as an extra also for the TvSeries and MovingPictures plugin (user could create wish for series/movie name!).

    Put it in the DefaultWide skin folder.

    Some info on <hyperlinkParameter> at this link: https://forum.team-mediaportal.com/...ugins-with-a-parameter-updated-for-1-1.74143/
     

    Attachments

    • DialogMenu.xml
      4.4 KB
    Last edited:

    huha

    Extension Developer
    January 3, 2008
    890
    556
    Home Country
    Germany Germany
    Pog,
    this is awesome. This was exactly what i was dreaming of without knowing it exists already. I am able to catch the parameter in the plugin during pageload.
    As this opens a ton of options for integration of tvwishlist into MP let´s talk about how to exploit it best.

    If i understand correctly you can catch every label of a skin. Can you also catch a textbox or single listviewitems?
    Is this the meaning of:
    eq(1,1),'#selecteditem'
    I did not understand this.

    Can you send a fixed string before the label and/or combine multiple labels e.g.
    '#NEWTVWISH# Title='+'#TV.Guide.Title'+'Channel='#TV.Guide.Channel'

    I think the most flexible and expandable way would be to have a small command parser, which is able to process different informations based on the keywords.
    This would enable to automatically create a new wish from EPG or from a Video including episode information.

    purberger,
    I am not planning to touch the tvchannel with tvwishlist. I tried once to play a movie, but this opened a ton of followups which became too complex for me.
     
    Last edited:

    Pog

    Retired Team Member
  • Premium Supporter
  • September 7, 2009
    401
    315
    Wicklow
    Home Country
    Ireland Ireland
    eq(1,1),'#selecteditem' --- I use "eq(1,1)" as a non conditional check (always true) and this will use #selecteditem (whatever is highlighted in a list) to be returned from the switch statement.

    http://wiki.team-mediaportal.com/1_...te/7_Skins/Skin_Architecture/Skin_Expressions

    Any property that is available to a skin can be used and formated for the parameter. You can combine items and add text.

    'NEWTVWISH: Title="#TV.Guide.Title" Channel="#TV.Guide.Channel"'

    This would work, have to be careful with skins as they don't work quite the same as program code.
     

    huha

    Extension Developer
    January 3, 2008
    890
    556
    Home Country
    Germany Germany
    Pog,
    then I am proposing the following format:
    COMMAND//PARAMETER=VALUE//PARAMETER=VALUE// ...

    In your case it would be
    'NEWTVWISH//Title=#TV.Guide.Title'

    This format would be easy to parse and be flexible for future extensions.

    In case of NEWTVWISH I would create a new Tv wish with searchfor=Title and name=Title
    if no such Tvwish does exist already in the modus (email or viewonly whatever was used the last time)
    and then go to the edit page.

    If a Tvwish does exist i would show the results of the single tvwish.

    I will hold back the next release for a week and implement it over the week end.
    This got me really excited

    Update: i just tested it with
    <!-- Pog: TvWishList Menu Mod (begin here) -->
    <control>
    <description>TVwishList</description>
    <type>button</type>
    <id>666</id>
    <posX>930</posX>
    <posY>101</posY>
    <width>130</width>
    <label>TvWish</label>
    <font>font14</font>
    <align>left</align>
    <hyperlink>70943675</hyperlink>
    <hyperlinkParameter>#(switch(
    eq(#currentmoduleid,'600'), 'NEWTVWISH//Title=#TV.Guide.Title',
    eq(#currentmoduleid,'602'), 'NEWTVWISH//Title=#TV.View.title',
    eq(#currentmoduleid,'9811'), 'NEWTVWISH//Title=#TVSeries.Series.Pretty_Name',
    eq(#currentmoduleid,'96742'), 'NEWTVWISH//Title=#MovingPictures.SelectedMovie.title',
    eq(1,1), 'NEWTVWISH//Title=#selecteditem'
    ))</hyperlinkParameter>
    <visible>plugin.isenabled(TvWishListMP)+[window.isvisible(600)|window.isvisible(601)|window.isvisible(602)|window.isvisible(603)|window.isvisible(9811)|[window.isvisible(96742)+!

    control.isvisible(51)]]</visible>
    </control>


    <!-- Pog: TvWishList Menu Mod (end here) -->
     
    Last edited:

    Users who are viewing this thread

    Top Bottom