Extensions: A GUI Plugin for MediaPortal's MPEI Installer (1 Viewer)

ltfearme

Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,702
    7,087
    Sydney
    Australia Australia
    Country flag
    New Release available (v1.1.0):
    • Added support for translations from Transifex.
    Download
     

    Dadeo

    Docs Group Manager
  • Premium Supporter
  • November 26, 2006
    5,340
    3,321
    Himalayas, India
    Canada Canada
    @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:
    <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.
     

    Attachments

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,702
    7,087
    Sydney
    Australia Australia
    Country flag
    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.
     

    catavolt

    Design Group Manager
  • Team MediaPortal
  • August 13, 2007
    12,961
    9,307
    Lanzarote
    Germany Germany
    Country flag
    Hi Damien, would be nice to show the xml code here to fix the problem mentionend above ;)
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,702
    7,087
    Sydney
    Australia Australia
    Country flag
    Hi Damien, would be nice to show the xml code here to fix the problem mentionend above ;)
    [COLLAPSE]
    Code:
    <control Style="smallTitleB">
    	  <type>label</type>
    	  <posX>310</posX>
    	  <posY>356</posY>
    	  <width>248</width>
    	  <label>#MPEI.Translation.Downloads.Label</label>
    	  <animation effect="Fade" time="250">WindowOpen</animation>
    	  <animation effect="Fade" time="100">WindowClose</animation>
    	  <visible>!string.equals(#MPE.Selected.Hits,)</visible>
    </control>
    <control Style="smallTitle">
    	  <id>101</id>
    	  <type>fadelabel</type>
    	  <posX>500</posX>
    	  <posY>357</posY>
    	  <width>428</width>
    	  <!-- Show Downloads and Hits -->
    	  <label>#(string.format('{0:#,0} ({1:#,0} #MPEI.Translation.Hits.Label)',cint(#MPE.Selected.Downloads),cint(#MPE.Selected.Hits)))</label>
    	  <animation effect="Fade" time="250">WindowOpen</animation>
    	  <animation effect="Fade" time="100">WindowClose</animation>
    	  <visible>!string.equals(#MPE.Selected.Hits,)+!string.equals(#MPE.Selected.Downloads,)</visible>
    </control>
    <control Style="smallTitle">
    	  <type>fadelabel</type>
    	  <posX>500</posX>
    	  <posY>357</posY>
    	  <width>428</width>
    	  <!-- Show Hits Only (avoid skin expression error) -->
    	  <label>#(string.format('{0:#,0} #MPEI.Translation.Hits.Label',cint(#MPE.Selected.Hits)))</label>
    	  <animation effect="Fade" time="250">WindowOpen</animation>
    	  <animation effect="Fade" time="100">WindowClose</animation>
    	  <visible>!string.equals(#MPE.Selected.Hits,)+!control.hastext(101)</visible>
    </control>
    <control Style="smallTitleB">
    	  <type>label</type>
    	  <posX>310</posX>
    	  <posY>382</posY>
    	  <width>248</width>
    	  <label>#MPEI.Translation.Compatibility.Label</label>
    	  <animation effect="Fade" time="250">WindowOpen</animation>
    	  <animation effect="Fade" time="100">WindowClose</animation>
    	  <visible>!string.equals(#MPE.Selected.CompatibleVersions,)</visible>
    </control>
    <control Style="smallTitle">
    	  <type>fadelabel</type>
    	  <posX>500</posX>
    	  <posY>383</posY>
    	  <width>428</width>
    	  <label>MediaPortal #(iif(eq(#MPE.Selected.CompatibleVersions,' '),'N/A','#MPE.Selected.CompatibleVersions'))</label>
    	  <animation effect="Fade" time="250">WindowOpen</animation>
    	  <animation effect="Fade" time="100">WindowClose</animation>
    	  <visible>!string.equals(#MPE.Selected.CompatibleVersions,)</visible>
    </control>
    <control Style="smallTitleB">
    	  <type>label</type>
    	  <posX>310</posX>
    	  <posY>408</posY>
    	  <width>248</width>
    	  <label>#MPEI.Translation.Rating.Label</label>
    	  <animation effect="Fade" time="250">WindowOpen</animation>
    	  <animation effect="Fade" time="100">WindowClose</animation>
    	  <visible>!string.equals(#MPE.Selected.Votes,)</visible>
    </control>
    <control>
    	  <type>imagelist</type>
    	  <description>-</description>
    	  <id>0</id>
    	  <posX>500</posX>
    	  <posY>405</posY>
    	  <width>130</width>
    	  <height>24</height>
    	  <colordiffuse>ffffffff</colordiffuse>
    	  <percentage>#MPE.Selected.Rating</percentage>
    	  <textureHeight>22</textureHeight>
    	  <orientation>horizontal</orientation>
    	  <textureWidth>22</textureWidth>
    	  <subitems>
    		<subitem>starwhitehollow.png</subitem>
    		<subitem>starwhite.png</subitem>
    	  </subitems>
    	  <animation effect="Fade" time="250">WindowOpen</animation>
    	  <animation effect="Fade" time="100">WindowClose</animation>
    	  <visible>!string.equals(#MPE.Selected.Votes,)</visible>
    </control>
    <control Style="smallTitle">
    	  <type>fadelabel</type>
    	  <posX>620</posX>
    	  <posY>408</posY>
    	  <width>428</width>
    	  <label>#(div(cint(#MPE.Selected.Rating), cflt(2))) #(string.format('({0:#,0} #MPEI.Translation.Votes.Label)',cint(#MPE.Selected.Votes)))</label>
    	  <animation effect="Fade" time="250">WindowOpen</animation>
    	  <animation effect="Fade" time="100">WindowClose</animation>
    	  <visible>!string.equals(#MPE.Selected.Votes,)</visible>
    </control>
    [COLLAPSE]

    Basically removed any string property in the conditions are relied on old trusty methods.
     
    Last edited:

    Dadeo

    Docs Group Manager
  • Premium Supporter
  • November 26, 2006
    5,340
    3,321
    Himalayas, India
    Canada Canada
    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.
    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!
     

    Airw0lf

    Portal Pro
    April 19, 2008
    77
    3
    New Zealand New Zealand
    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.
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    C Can't install any extensions - DLL error Installation, configuration support 19
    T MediaPortal Extensions Manager Fehlermeldung bei Installation einer Erweiterung Installationsprobleme? 1
    high [Evaluate] MP Extension Manager can't download HTTPS links MediaPortal 1 38
    R Verbindungsproblem bei MP Extension Manager Installationsprobleme? 2
    ajs [Help Us!] Extensions plugin question MediaPortal 1 8
    R New MP2 user issues: software encoders for analog & plug-in/extension installation General 2
    R MP2 GUI Issues General 7
    ajs [fixed] 5022: Improving the MPE Installer, providing nicer GUI :) MediaPortal 1 42
    ajs [fixed] 5015: Improving the MP1 installer, providing nicer GUI :) MediaPortal 1 138
    ltfearme Exception thrown when SetText in GUI Notification dialog Titan Skin Feedback 3
    F GUI incredibly slow Performance General 22
    S Hard crashes in gui when sending to importer Moving Pictures 2
    azzuro [Help Me!] Improve duration times of GUI List items MediaPortal 2 37
    morpheus_xx [WiP] "What's New" plugin for MP2 upgrades MediaPortal 2 19
    da3dsoul [Request] An MVP Plugin example for custom settings in MP2 Plugin Development 2
    da3dsoul MP2 Plugin - Getting Started (Directory Tree and Player) Plugin Development 27
    M Installing Plugins Newcomers Forum 2
    joecrow 1.25.0 Radio Time plugin fails after Resume from Sleep with MP 1.25 Bugreports 4
    P MP2: US user, OTA - can NOT get SchedulesDirect plugin to work on MP1 or MP2 --> how do I get OTA schedule? General 5
    E aktuelle englische Forums Webseite von - Showtime Plugin v3 Plugins & Erweiterungen 4
    mrmojo666 [Tv Server Plugin ]Direct Show Video Control Plugin 0.0.0.1 for Hauppauge PVR cards MediaPortal 1 Plugins 0
    joecrow MultiShortcut Plugin (Uavailable) in DWHD skin General Support 58
    vapourEyes Building TV Plugin General Development (no feature request here!) 49
    Golf4 Nach Windows-Updates läuft TV-Plugin nicht mehr Allgemeines Support- und Diskussionsforum 0
    joecrow How about a Launcher plugin for MP1? MediaPortal 1 6
    Similar threads

























    Top Bottom