MPEI and local plugin scanning

Discussion in 'Improvement Suggestions' started by SpudR, April 8, 2015.

  1. SpudR
    • Team MediaPortal

    SpudR Documentation Group

    Joined:
    July 27, 2007
    Messages:
    2,609
    Likes Received:
    451
    Occupation:
    CTO, MD
    Location:
    Yorkshire, UK
    Ratings:
    +680 / 2
    Home Country:
    England England
    Show System Specs
    It came to light during a recent issue of mine, that the MPEI has a bit of a weakness in that one missing file would cause an issue.
    @Edalex pointed out:
    I'm sure that you can see that this might cause a problem...

    So I've created this thread to discuss options - as you all know (or should!) I am no code monkey, but I'm sure some of you gifted uber-beings can come up with a better solution, than just installing your plugins again (and all the 'fun' of a reconfig)

    So over to you boxes of brains...


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Edalex
    • Premium Supporter

    Edalex Community Plugin Dev

    Joined:
    January 3, 2008
    Messages:
    2,907
    Likes Received:
    713
    Gender:
    Male
    Location:
    Saratov
    Ratings:
    +1,229 / 9
    Home Country:
    Russian Federation Russian Federation
    Show System Specs
    You could look yourself at example from our own logomanager package
    Logomanager package (open)

    <PackageClass>
    <Version>2.0</Version>
    <Groups>
    <Items>
    <GroupItem Name="Designs">
    <DisplayName>Designs</DisplayName>
    <DefaulChecked>true</DefaulChecked>
    <Description>Designs</Description>
    <Files>
    <Items />
    </Files>
    </GroupItem>
    <GroupItem Name="Plugin">
    <DisplayName>Plugin</DisplayName>
    <DefaulChecked>true</DefaulChecked>
    <Description>Plugin</Description>
    <Files>
    <Items />
    </Files>
    </GroupItem>
    <GroupItem Name="Skin">
    <DisplayName>Skin</DisplayName>
    <DefaulChecked>true</DefaulChecked>
    <Description>Skin</Description>
    <Files>
    <Items />
    </Files>
    </GroupItem>
    </Items>
    </Groups>
    <Sections>
    <Items />
    </Sections>
    <Dependencies>
    <Items>
    <DependencyItem>
    <Type>MediaPortal</Type>
    <Id />
    <MinVersion>
    <Major>1</Major>
    <Minor>1</Minor>
    <Build>6</Build>
    <Revision>27644</Revision>
    </MinVersion>
    <MaxVersion>
    <Major>1</Major>
    <Minor>1</Minor>
    <Build>6</Build>
    <Revision>27644</Revision>
    </MaxVersion>
    <WarnOnly>true</WarnOnly>
    <Message>This version of Logo Manager requires MediaPortal 1.2.0 Beta or higher!</Message>
    <Name>MediaPortal</Name>
    </DependencyItem>
    </Items>
    </Dependencies>
    <PluginDependencies>
    <Items>
    <PluginDependencyItem AssemblyName="LogoManager.dll">
    <CompatibleVersion>
    <Items>
    <CompatibleVersionItem>
    <MinRequiredVersion>1.1.6.27644</MinRequiredVersion>
    <DesignedForVersion>1.1.6.27644</DesignedForVersion>
    </CompatibleVersionItem>
    </Items>
    </CompatibleVersion>
    <SubSystemsUsed>
    <Items />
    </SubSystemsUsed>
    </PluginDependencyItem>
    </Items>
    </PluginDependencies>
    <GeneralInfo>
    <Name>Logo Manager</Name>
    <Id>bf0898e0-0866-4f52-be7e-4f504b978944</Id>
    <Author>Vasilich, Edalex</Author>
    <HomePage>https://code.google.com/p/mediaportal-russian-logos/</HomePage>
    <ForumPage>https://forum.team-mediaportal.com/threads/logomanager-0-0-0-1-31-05-3013.119376/</ForumPage>
    <UpdateUrl>http://mediaportal-russian-logos.go...ogoManager/LogoManager/update.xml</UpdateUrl>
    <Version>
    <Major>1</Major>
    <Minor>0</Minor>
    <Build>0</Build>
    <Revision>0</Revision>
    </Version>
    <ExtensionDescription>Multinational plugin for downloading tv and radio logos from online repositories replacing existing logo packs</ExtensionDescription>
    <VersionDescription>Added:

    - Automatic grabbing with defaultsettings at first plugin run

    - Autoupdate packs from central server at start

    - Many new country packs

    - Background scheduled autograbbing

    - Argus single-seat support

    Fixed:

    - Many bugs

    </VersionDescription>
    <DevelopmentStatus>Stable</DevelopmentStatus>
    <OnlineLocation>http://mediaportal-russian-logos.go...ger/LogoManager.1.0.0.0.mpe1</OnlineLocation>
    <ReleaseDate>2015-03-29T23:14:39</ReleaseDate>
    <Tags>logo,logos,tv,radio</Tags>
    <Location>D:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Installer\V2\bf0898e0-0866-4f52-be7e-4f504b978944\1.0.0.0\bf0898e0-0866-4f52-be7e-4f504b978944.mpe2</Location>
    <Params>
    <Items>
    <SectionParam Name="Icon">
    <Value />
    <ValueType>File</ValueType>
    <Description>The icon file of the package (jpg,png,bmp)</Description>
    </SectionParam>
    <SectionParam Name="Online Icon">
    <Value />
    <ValueType>String</ValueType>
    <Description>The icon file of the package stored online (jpg,png,bmp)</Description>
    </SectionParam>
    <SectionParam Name="Configuration file">
    <Value />
    <ValueType>Template</ValueType>
    <Description>The file used to configure the extension.
    If it has .exe extension the will be executed.
    If it has .dll extension it's started like MP plugin configuration.</Description>
    </SectionParam>
    <SectionParam Name="Online Screenshots">
    <Value>http://mediaportal-russian-logos.go...ogoManager/Screenshots/2013-05-31_231106.jpg;
    http://mediaportal-russian-logos.go...ogoManager/Screenshots/2013-05-31_231129.jpg;
    http://mediaportal-russian-logos.go...ogoManager/Screenshots/2013-05-31_231159.jpg;
    http://mediaportal-russian-logos.go...ogoManager/Screenshots/2013-05-31_231453.jpg;
    http://mediaportal-russian-logos.go...ger/Screenshots/2013-05-31_231537.jpg</Value>
    <ValueType>String</ValueType>
    <Description>Online stored screenshot urls separated by ; </Description>
    </SectionParam>
    <SectionParam Name="Force to uninstall on update">
    <Value>YES</Value>
    <ValueType>Bool</ValueType>
    <Description>Show dialog and force to uninstall previous version when updating an extension. Should only be disabled if you are using an NSIS/MSI installer.</Description>
    </SectionParam>
    </Items>
    </Params>
    </GeneralInfo>
    <UniqueFileList>
    <Items />
    </UniqueFileList>
    <ProjectSettings>
    <FolderGroups />
    </ProjectSettings>
    <IsSkin>false</IsSkin>
    </PackageClass>
     
  4. SpudR
    • Team MediaPortal

    SpudR Documentation Group

    Joined:
    July 27, 2007
    Messages:
    2,609
    Likes Received:
    451
    Occupation:
    CTO, MD
    Location:
    Yorkshire, UK
    Ratings:
    +680 / 2
    Home Country:
    England England
    Show System Specs
    These bits look interesting:
    Code (Text):
    1.        <GroupItem Name="Plugin">
    2.                 <DisplayName>Plugin</DisplayName>
    3.                 <DefaulChecked>true</DefaulChecked>
    4.                 <Description>Plugin</Description>
    5.                 <Files>
    6.                     <Items />
    7.                 </Files>
    8.             </GroupItem>
    9.  
    10.     <UniqueFileList>
    11.         <Items />
    12.     </UniqueFileList>
    13.  
    Could the file details be put here to check local presence against?
     
  5. Edalex
    • Premium Supporter

    Edalex Community Plugin Dev

    Joined:
    January 3, 2008
    Messages:
    2,907
    Likes Received:
    713
    Gender:
    Male
    Location:
    Saratov
    Ratings:
    +1,229 / 9
    Home Country:
    Russian Federation Russian Federation
    Show System Specs
    Nah, this is custom group name. But you coulf look at plugin dependency item which holds all connected dll names... There could be more than one item but we could eleminate duplicates
     
  6. SpudR
    • Team MediaPortal

    SpudR Documentation Group

    Joined:
    July 27, 2007
    Messages:
    2,609
    Likes Received:
    451
    Occupation:
    CTO, MD
    Location:
    Yorkshire, UK
    Ratings:
    +680 / 2
    Home Country:
    England England
    Show System Specs
    That sounds like a plan :)
    Can any @Developers take this further?
     
  7. SpudR
    • Team MediaPortal

    SpudR Documentation Group

    Joined:
    July 27, 2007
    Messages:
    2,609
    Likes Received:
    451
    Occupation:
    CTO, MD
    Location:
    Yorkshire, UK
    Ratings:
    +680 / 2
    Home Country:
    England England
    Show System Specs
    What no replies?
    Out of interest who is best placed to advise on the MPEI??
     
  8. Edalex
    • Premium Supporter

    Edalex Community Plugin Dev

    Joined:
    January 3, 2008
    Messages:
    2,907
    Likes Received:
    713
    Gender:
    Male
    Location:
    Saratov
    Ratings:
    +1,229 / 9
    Home Country:
    Russian Federation Russian Federation
    Show System Specs
    Long time noone have touched mpei. Only guys to ask are ltfearme, offbyone and me i believe
     
    Last edited: April 14, 2015
  9. SpudR
    • Team MediaPortal

    SpudR Documentation Group

    Joined:
    July 27, 2007
    Messages:
    2,609
    Likes Received:
    451
    Occupation:
    CTO, MD
    Location:
    Yorkshire, UK
    Ratings:
    +680 / 2
    Home Country:
    England England
    Show System Specs
  10. offbyone
    • Team MediaPortal

    offbyone Development Group

    Joined:
    April 26, 2008
    Messages:
    3,981
    Likes Received:
    2,704
    Gender:
    Male
    Location:
    Stuttgart
    Ratings:
    +3,303 / 3
    Home Country:
    Germany Germany
    Show System Specs
    Sry not going to put any effort into this. My focus is on OV and MP2.
     
  11. SpudR
    • Team MediaPortal

    SpudR Documentation Group

    Joined:
    July 27, 2007
    Messages:
    2,609
    Likes Received:
    451
    Occupation:
    CTO, MD
    Location:
    Yorkshire, UK
    Ratings:
    +680 / 2
    Home Country:
    England England
    Show System Specs
    Fair enough :)
     
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!