TV Server Plugin: TvWishList (11 Viewers)

D3ltoroxp

MP Donator
  • Premium Supporter
  • June 1, 2008
    3,272
    212
    Home Country
    Germany Germany
    Ohh that sounds very good !! nice !! Thanks Huha !!

    And here are the missed screens with the little bug, from me or from your plugin !!
     

    Attachments

    • tvwish.PNG
      tvwish.PNG
      91.7 KB
    Last edited:

    TLD

    Portal Pro
    October 26, 2007
    985
    428
    Rainy Washington
    Home Country
    United States of America United States of America
    Is there any documentation for skinners so they can get the info they need to add the Pog button to their skins.
    Dadeo is doing a pre beta test on aMPed ver 3.4 and has added TVWishList support to the skin he said if he could get the documentation for the Pog button he might be able to add it to this release.
     
    Last edited:

    huha

    Extension Developer
    January 3, 2008
    890
    556
    Home Country
    Germany Germany
    TLD,
    this is fantastic news.
    The skinning information is in my pdf file on page 33-34. A picture of the DefaultWide Dialog.xml is on page 33 with the TvWish button.

    Attached a summary for the magic "Pog" button.
    It would be great if i could get (after the 1.3 release) two language strings into MediaPortal namely "TvWishlist" and TvWish", which could be used in the future for the skins.

    TvWishlist does support the “Pog” button for parameters defined in the skin requiring the following
    format:
    COMMAND//PARAMETER=VALUE//PARAMETER=VALUE// ...
    An example is shown for the button of Pog used in the dialog menu (DialogMenu.xml):
    <!-- Pog: TvWishList Menu Mod (begin here) -->
    <control>
    <description>TVwishList</description>
    <type>button</type>
    <id>666</id>
    <posX>925</posX>
    <posY>101</posY>
    <width>135</width>
    <label>TvWish</label>
    <font>font14</font>
    <align>left</align>
    <hyperlink>70943675</hyperlink>
    <hyperlinkParameter>#(switch(
    eq(#currentmoduleid,'600'),
    'NEWTVWISH//TITLE=#TV.Guide.Title//SERIESNUMBER=#TV.Guide.Episode',
    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(#currentmoduleid,'6'),
    'NEWTVWISH//TITLE=#selecteditem',
    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)]|
    [window.isvisible(6)+string.equals(#selecteditem2)]]</visible>
    </control>
    <!-- Pog: TvWishList Menu Mod (end here) -->
    The following commands are supported by the plugin:
    NEWTVWISH
    NEWTVWISH_ALL
    NEWTVWISH_EMAIL
    NEWTVWISH_ALL_EMAIL
    NEWTVWISH_VIEWONLY
    NEWTVWISH_ALL_VIEWONLY
    GOTO_MAIN
    GOTO_RESULTS
    and the following parameters:
    TITLE=
    CHANNEL=
    EPISODEPART=
    EPISODENAME=
    SERIESNUMBER=
    EPISODENUMBER=
    The last two support a single number or a combined format like this:
    SERIES.EPISODE/TOTALEPISODES eg. EPISODENAME=2.3/12
     
    Last edited:

    huha

    Extension Developer
    January 3, 2008
    890
    556
    Home Country
    Germany Germany
    foxbenw,
    I added a trace and do ask you to repeat the same procedure. i see the issue but could not understand the cause. i fixed a few minor bugs with messages, but this was not the cause.

    Jiro, homeY,
    I did attach now a reconnect of up to three times if the connection gets distorted. I did more debugging but could never reproduce your issue with a multiseat configuration.

    I did some minor updates on the skin.

    d3ltoroxp, you have a test version installed which has not been released yet, That´s why you see the last stable version (1.2.2.3 and 1.2.2.7).
     

    Attachments

    • TvWishList.Ver.1.2.2.10.mpe1
      4.6 MB
    • TvWishListV1.2.2.10.Release.zip
      4.6 MB
    Last edited:

    Dadeo

    Docs Group Manager
  • Premium Supporter
  • November 26, 2006
    5,340
    3,321
    Himalayas, India
    Home Country
    Canada Canada
    TLD,
    this is fantastic news.
    The skinning information is in my pdf file on page 33-34. A picture of the DefaultWide Dialog.xml is on page 33 with the TvWish button.

    Attached a summary for the magic "Pog" button.
    It would be great if i could get (after the 1.3 release) two language strings into MediaPortal namely "TvWishlist" and TvWish", which could be used in the future for the skins.
    Thanks for the info Huha - I'll try to get it in aMPed 3.4 beta, but for 3.4 final release for sure.

    You won't likely have much success getting plugin names/strings added to MP strings files (if that's what you meant). MP used to do that but it just became too much of a mess with obsolete plugins, constantly new plugins etc. I am sure you can understand.

    Plugins can of course add their own strings files as many already do - maybe that is what you meant?

    Many plugins also offer a "Plugin name' option in setup (which then gets added in MediaPortal.xml and displays in skins on both the classic MyHome and Basic Home screens).

    Keep up the great work - I think TVWishList is going to be very popular!
     

    huha

    Extension Developer
    January 3, 2008
    890
    556
    Home Country
    Germany Germany
    Dadeo,
    yes this was what I meant. The "Pog" button uses in DialogMenu.xml
    <label>TvWish</label>
    I have my own language folder C:\ProgramData\Team MediaPortal\MediaPortal\language\TvWishListMP
    Is it possible to use strings from there for a skin which belongs to another plugin? How would I need to change the label statement from DialogMenu.xml to include a language string from the TvWishListMP folder? I thaught this works only for the global MP language files, where the skin can refer to the number of the string.

    To all,
    I uploaded another version 1.2.2.11 which should work with the upcoming 1.3 alfa release.
     

    Attachments

    • DialogMenu.xml
      3.9 KB
    • TvWishList.Ver.1.2.2.11.mpe1
      4.6 MB
    Last edited:

    Dadeo

    Docs Group Manager
  • Premium Supporter
  • November 26, 2006
    5,340
    3,321
    Himalayas, India
    Home Country
    Canada Canada
    Hi huha - AFAIK you're right, you can only use MP strings in label controls in skin files. BUT I think you can use a string from your TVWishListMP folder in code (not in skin xml). So you can code <id>666</id> to a string in your language files for that Dialog window (2012). I'm not a developer, so I can't help much beyond that, but I know many plugins do it.

    However, I am not sure it is a good idea to replace the DialogMenu.xml since that is a MP core skin file. Usually when plugins modify a Dialog they give it a new name (and often a new window ID) - TvWishDialogMenu.xml or DialogTVWishMenu.xml or something like that (which helps us all keep track of which dialogs are MP and which are plugin dialogs. Sadly the wiki docs are not very clear about dialogs. (either for plugin devs or skinners!) I keep trying to get someone who understands them to help, but no luck yet!

    I think I understand your problem though - you want that dialog to display via MP standard context menu in TV Guide? Perhaps you could message one of the Team devs and ask the best way to do that?
     

    Pog

    Retired Team Member
  • Premium Supporter
  • September 7, 2009
    401
    315
    Wicklow
    Home Country
    Ireland Ireland
    However, I am not sure it is a good idea to replace the DialogMenu.xml since that is a MP core skin file. Usually when plugins modify a Dialog they give it a new name (and often a new window ID) - TvWishDialogMenu.xml or DialogTVWishMenu.xml or something like that (which helps us all keep track of which dialogs are MP and which are plugin dialogs.


    Yes this is a little cheeky for sure but it adds some very useful integration when mixed with hyperlink parameter plugin links. Currently with MP there is no other way to hop on the context menu within core and external plugins and use the currently highlighted item in a list as a parameter. Also needed are the currently exposed skin properties that exist while the underlying plugin is active (like tv guide etc). Skinners can implement it how they see fit and reduce/expand what it handles, if the plugin is removed the skin elements will be dormant and not show.
     

    Dadeo

    Docs Group Manager
  • Premium Supporter
  • November 26, 2006
    5,340
    3,321
    Himalayas, India
    Home Country
    Canada Canada
    IIRC if you uninstall (perish the thought ;) ) via MPEI it should revert to the previous DialogMenu.xml - though I am not convinced how reliable that is or if it would work if you had not installed TvWishList previously (I think MPEI reverts to previous version/ files you had installed?)
     

    foxbenw

    MP Donator
  • Premium Supporter
  • September 12, 2011
    232
    47
    Welwyn Garden City
    Home Country
    United Kingdom United Kingdom
    This seems slightly different but have posted anyway. I cleared all wishes and schedules on 27th and then ran the search. I got a duplicate the next day on 28th.
    Family Guy, 4.15, Brian Goes Back to College.
    Ben
     

    Attachments

    • TvWishList2012_06_28___08_07_38.zip
      1.2 MB
    • TvWishList2012_06_27___23_27_19.zip
      1.5 MB

    Users who are viewing this thread

    Top Bottom