MPEI and local plugin scanning (1 Viewer)

SpudR

Documentation Group
  • Team MediaPortal
  • July 27, 2007
    2,634
    704
    Yorkshire, UK
    England England
    Country flag
    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:
    If InstalledExtension.xml file is lost then it's lost
    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...
     

    Edalex

    Community Plugin Dev
  • Premium Supporter
  • January 3, 2008
    2,922
    1,228
    Saratov
    Russian Federation Russian Federation
    Country flag
    Is there somewhere in the DB of known plugins that identifies the DLLs with the GUID?
    Just asking :).
    You could look yourself at example from our own logomanager package
    <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>
     

    SpudR

    Documentation Group
  • Team MediaPortal
  • July 27, 2007
    2,634
    704
    Yorkshire, UK
    England England
    Country flag
    These bits look interesting:
    Code:
           <GroupItem Name="Plugin">
                    <DisplayName>Plugin</DisplayName>
                    <DefaulChecked>true</DefaulChecked>
                    <Description>Plugin</Description>
                    <Files>
                        <Items />
                    </Files>
                </GroupItem>
     
        <UniqueFileList>
            <Items />
        </UniqueFileList>
    Could the file details be put here to check local presence against?
     

    Edalex

    Community Plugin Dev
  • Premium Supporter
  • January 3, 2008
    2,922
    1,228
    Saratov
    Russian Federation Russian Federation
    Country flag
    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
     

    SpudR

    Documentation Group
  • Team MediaPortal
  • July 27, 2007
    2,634
    704
    Yorkshire, UK
    England England
    Country flag
    What no replies?
    Out of interest who is best placed to advise on the MPEI??
     

    Edalex

    Community Plugin Dev
  • Premium Supporter
  • January 3, 2008
    2,922
    1,228
    Saratov
    Russian Federation Russian Federation
    Country flag
    Long time noone have touched mpei. Only guys to ask are ltfearme, offbyone and me i believe
     
    Last edited:

    offbyone

    Development Group
  • Team MediaPortal
  • April 26, 2008
    3,981
    3,703
    Stuttgart
    Germany Germany
    Country flag
    Sry not going to put any effort into this. My focus is on OV and MP2.
     

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

    OP Similar threads Forum Replies Date
    D "attempt to index local `zf' (a nil value)" General Support 0
    S TV server -. trying to rescan for a local channel Installation, configuration support 0
    Lehmden [Videos] More filename possibility for MyVideos local fanart. Improvement Suggestions 26
    Lehmden Additional naming schemes for local fanart Feature Requests 0
    morpheus_xx [WiP] "What's New" plugin for MP2 upgrades MediaPortal 2 20
    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 10
    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
    D [solved] TVServer Plugin must be missing something. General Development (no feature request here!) 1
    framug Nouveau plugin XmlTvFR pour récupérer le guide télé français Kazer / ZguideTv (WebEPGfr) 11
    emphatic Allow remote control mapping of all plugins Improvement Suggestions 0
    D Where should plugins be located on hard drive? General Support 0
    D how to disengage from one version of a plugin to use another Newcomers Forum 0
    cbr954rr How to disable a pre-configured plugin? General 2
    mrmojo666 [Plugin]Marantz Control Plugin 0.0.0.2 MediaPortal 1 Plugins 2
    mrmojo666 beginner: trying to write a plugin, need help to catch event General Development (no feature request here!) 3
    framug [Rejected] Fix PowerScheduler plugin for MP2 single seat Submit: Code Patches 9
    Similar threads

























    Top Bottom