Extensions: A GUI Plugin for MediaPortal's MPEI Installer | Page 26

Discussion in 'Skins and Plugins Installer (MPEI)' started by dukus, January 9, 2010.

  1. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,456
    Likes Received:
    4,241
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,382 / 0
    Home Country:
    Australia Australia
    New Release available (v1.1.0):
    • Added support for translations from Transifex.
    Download


     
    • Like Like x 3
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. catavolt
    • Team MediaPortal
    • Administrator

    catavolt Design Group Manager

    Joined:
    August 13, 2007
    Messages:
    12,221
    Likes Received:
    4,961
    Gender:
    Male
    Occupation:
    Technical Documentation, Translation
    Location:
    Lanzarote
    Ratings:
    +7,364 / 38
    Home Country:
    Germany Germany
    Show System Specs
    Download in repo downloads Version 1.0.9.185. :(
     
    • Like Like x 1
  4. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,456
    Likes Received:
    4,241
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,382 / 0
    Home Country:
    Australia Australia
    Fixed.
     
    • Like Like x 1
  5. Dadeo
    • Team MediaPortal

    Dadeo Docs Group Manager

    Joined:
    November 26, 2006
    Messages:
    5,340
    Likes Received:
    2,802
    Location:
    Himalayas, India
    Ratings:
    +3,053 / 0
    Home Country:
    Canada Canada
    Show System Specs
    @ltfearme - do you know what causes the issue with the visibility conditions not working correctly in Extensions Info screens (myextensions2info.xml) - all views except MP Website Extensions ? See attached screenshot - the Status, Downloads, Compatibility, etc all have visibility conditions
    Code (Text):
    1. <visible>string.equals(#MPE.View.Name,#MPEI.Translation.MPOnlineExtensions.Label)</visible>
    So they should only display in MP Website Extensions view right?

    The visibility condition works correctly in MP Website Extensions view. I tried playing around a bit, and the string conditions work in the plugin views (Installed, Online, Updates, etc) if I enclose the skin properties in single quotes, but then they don't work in MP Web Extensions view. :( It seems to be an issue in all skins I checked so far. Also, I don't think it is new in v 1.1.0, IIRC I say this in previous versions as well.
     

    Attached Files:

    • Like Like x 1
  6. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,456
    Likes Received:
    4,241
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,382 / 0
    Home Country:
    Australia Australia
    I reported this in the internal forums I think, I believe it was broken in MP 1.3. You will have to work around it I'm afraid, you can take a look at streamedmp I made a change recently to fix it.
     
    • Like Like x 1
  7. catavolt
    • Team MediaPortal
    • Administrator

    catavolt Design Group Manager

    Joined:
    August 13, 2007
    Messages:
    12,221
    Likes Received:
    4,961
    Gender:
    Male
    Occupation:
    Technical Documentation, Translation
    Location:
    Lanzarote
    Ratings:
    +7,364 / 38
    Home Country:
    Germany Germany
    Show System Specs
    Hi Damien, would be nice to show the xml code here to fix the problem mentionend above ;)
     
  8. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,456
    Likes Received:
    4,241
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,382 / 0
    Home Country:
    Australia Australia
    Show Spoiler

    Code (Text):
    1.  
    2. <control Style="smallTitleB">
    3.       <type>label</type>
    4.       <posX>310</posX>
    5.       <posY>356</posY>
    6.       <width>248</width>
    7.       <label>#MPEI.Translation.Downloads.Label</label>
    8.       <animation effect="Fade" time="250">WindowOpen</animation>
    9.       <animation effect="Fade" time="100">WindowClose</animation>
    10.       <visible>!string.equals(#MPE.Selected.Hits,)</visible>
    11. </control>
    12. <control Style="smallTitle">
    13.       <id>101</id>
    14.       <type>fadelabel</type>
    15.       <posX>500</posX>
    16.       <posY>357</posY>
    17.       <width>428</width>
    18.       <!-- Show Downloads and Hits -->
    19.       <label>#(string.format('{0:#,0} ({1:#,0} #MPEI.Translation.Hits.Label)',cint(#MPE.Selected.Downloads),cint(#MPE.Selected.Hits)))</label>
    20.       <animation effect="Fade" time="250">WindowOpen</animation>
    21.       <animation effect="Fade" time="100">WindowClose</animation>
    22.       <visible>!string.equals(#MPE.Selected.Hits,)+!string.equals(#MPE.Selected.Downloads,)</visible>
    23. </control>
    24. <control Style="smallTitle">
    25.       <type>fadelabel</type>
    26.       <posX>500</posX>
    27.       <posY>357</posY>
    28.       <width>428</width>
    29.       <!-- Show Hits Only (avoid skin expression error) -->
    30.       <label>#(string.format('{0:#,0} #MPEI.Translation.Hits.Label',cint(#MPE.Selected.Hits)))</label>
    31.       <animation effect="Fade" time="250">WindowOpen</animation>
    32.       <animation effect="Fade" time="100">WindowClose</animation>
    33.       <visible>!string.equals(#MPE.Selected.Hits,)+!control.hastext(101)</visible>
    34. </control>
    35. <control Style="smallTitleB">
    36.       <type>label</type>
    37.       <posX>310</posX>
    38.       <posY>382</posY>
    39.       <width>248</width>
    40.       <label>#MPEI.Translation.Compatibility.Label</label>
    41.       <animation effect="Fade" time="250">WindowOpen</animation>
    42.       <animation effect="Fade" time="100">WindowClose</animation>
    43.       <visible>!string.equals(#MPE.Selected.CompatibleVersions,)</visible>
    44. </control>
    45. <control Style="smallTitle">
    46.       <type>fadelabel</type>
    47.       <posX>500</posX>
    48.       <posY>383</posY>
    49.       <width>428</width>
    50.       <label>MediaPortal #(iif(eq(#MPE.Selected.CompatibleVersions,' '),'N/A','#MPE.Selected.CompatibleVersions'))</label>
    51.       <animation effect="Fade" time="250">WindowOpen</animation>
    52.       <animation effect="Fade" time="100">WindowClose</animation>
    53.       <visible>!string.equals(#MPE.Selected.CompatibleVersions,)</visible>
    54. </control>
    55. <control Style="smallTitleB">
    56.       <type>label</type>
    57.       <posX>310</posX>
    58.       <posY>408</posY>
    59.       <width>248</width>
    60.       <label>#MPEI.Translation.Rating.Label</label>
    61.       <animation effect="Fade" time="250">WindowOpen</animation>
    62.       <animation effect="Fade" time="100">WindowClose</animation>
    63.       <visible>!string.equals(#MPE.Selected.Votes,)</visible>
    64. </control>
    65. <control>
    66.       <type>imagelist</type>
    67.       <description>-</description>
    68.       <id>0</id>
    69.       <posX>500</posX>
    70.       <posY>405</posY>
    71.       <width>130</width>
    72.       <height>24</height>
    73.       <colordiffuse>ffffffff</colordiffuse>
    74.       <percentage>#MPE.Selected.Rating</percentage>
    75.       <textureHeight>22</textureHeight>
    76.       <orientation>horizontal</orientation>
    77.       <textureWidth>22</textureWidth>
    78.       <subitems>
    79.         <subitem>starwhitehollow.png</subitem>
    80.         <subitem>starwhite.png</subitem>
    81.       </subitems>
    82.       <animation effect="Fade" time="250">WindowOpen</animation>
    83.       <animation effect="Fade" time="100">WindowClose</animation>
    84.       <visible>!string.equals(#MPE.Selected.Votes,)</visible>
    85. </control>
    86. <control Style="smallTitle">
    87.       <type>fadelabel</type>
    88.       <posX>620</posX>
    89.       <posY>408</posY>
    90.       <width>428</width>
    91.       <label>#(div(cint(#MPE.Selected.Rating), cflt(2))) #(string.format('({0:#,0} #MPEI.Translation.Votes.Label)',cint(#MPE.Selected.Votes)))</label>
    92.       <animation effect="Fade" time="250">WindowOpen</animation>
    93.       <animation effect="Fade" time="100">WindowClose</animation>
    94.       <visible>!string.equals(#MPE.Selected.Votes,)</visible>
    95. </control>
    96.  
    Show Spoiler


    Basically removed any string property in the conditions are relied on old trusty methods.
     
    Last edited: March 17, 2013
    • Like Like x 2
  9. catavolt
    • Team MediaPortal
    • Administrator

    catavolt Design Group Manager

    Joined:
    August 13, 2007
    Messages:
    12,221
    Likes Received:
    4,961
    Gender:
    Male
    Occupation:
    Technical Documentation, Translation
    Location:
    Lanzarote
    Ratings:
    +7,364 / 38
    Home Country:
    Germany Germany
    Show System Specs
    THX ;)
     
  10. Dadeo
    • Team MediaPortal

    Dadeo Docs Group Manager

    Joined:
    November 26, 2006
    Messages:
    5,340
    Likes Received:
    2,802
    Location:
    Himalayas, India
    Ratings:
    +3,053 / 0
    Home Country:
    Canada Canada
    Show System Specs
    I thought I remembered something - I was searching all the Extensions forum threads - forgot it was in internal forum DUH!
    Workaround works like a charm. Thanks!
     
  11. Airw0lf

    Airw0lf Portal Pro

    Joined:
    April 19, 2008
    Messages:
    77
    Likes Received:
    3
    Ratings:
    +3 / 0
    Home Country:
    New Zealand New Zealand
    Show System Specs
    Is it possible to add a feature/option to install updates as another user? The reason I ask is because I normally launch MediaPortal from a non-admin account. If I run the Extension Installer program I specifically launch it as an admin user.
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!