[Plugin] EPG Cleaner & Schedule Repair (2 Viewers)

azzuro

Test Group
  • Team MediaPortal
  • May 10, 2007
    9,984
    5,663
    France - IDF
    Home Country
    France France
    Nevertheless, it is my intention to share, once the plugin is proven ok and I've had a chance to clean up my source.
    i'm sure yes.
    but you can provide source also if not yet accepted.

    maybe your plugins can interest @mm1352000 .

    Malheureusement, j'aimerai apprendre comme toi l'anglais comme tu as pu apprendre le français.
     

    Edalex

    Community Plugin Dev
  • Premium Supporter
  • January 3, 2008
    2,959
    1,270
    Saratov
    Home Country
    Russian Federation Russian Federation
    That's fine. Most of plugin developers are not professionals.
    Just don't forget before dissappearing :(
     

    hurley

    Portal Pro
    February 2, 2015
    61
    57
    Home Country
    Australia Australia
    Update:
    Could someone please volunteer a few moments to test the MPEM install mode.
    Specifically: Start MediaPortal Extension Manager from your desktop shortcut, update the 'known extensions' list and let me know if "EPG Cleaner" is listed.
    It doesn't appear to be on my system. :(

    Or alternatively, cast an eye over the xmp2 file and let me known if there's any mistakes there.
    Much appreciated, hurley.
     

    Attachments

    • EPGCleaner.xmp2
      16 KB

    Edalex

    Community Plugin Dev
  • Premium Supporter
  • January 3, 2008
    2,959
    1,270
    Saratov
    Home Country
    Russian Federation Russian Federation
    Did you hit publish button (only once)? If yes, your kisting in mpei should be approved by administrator first.
     

    hurley

    Portal Pro
    February 2, 2015
    61
    57
    Home Country
    Australia Australia
    So it needs re-approval again after pressing publish. OK thanks very much Edalex.
     

    Edalex

    Community Plugin Dev
  • Premium Supporter
  • January 3, 2008
    2,959
    1,270
    Saratov
    Home Country
    Russian Federation Russian Federation
    Site repository and mpei repository are independent. You need to put plugin in both places. Later today I will trt to check your xmp2 file form home pc
     
    Last edited:

    hurley

    Portal Pro
    February 2, 2015
    61
    57
    Home Country
    Australia Australia
    Excellent, that's a very informative link. Thanks again. (y)

    ....I thought your plugin is dll but it's exe....
    mpe1 is used as a wrapper for the stand-alone setup wizard. The same file as EPGCleanerSetup_1.0.0.0.exe
    ______________________________________________________________________________________

    To elaborate on the setup wizard for anyone interested:

    I needed to have a stand-alone installer for TV-Server only installs because the MpeInstaller.exe 'host' is not present in that case and I also wanted more functionality than I could achieve with the MPEMaker templates.

    - Backup/Import of plugin configuration
    - Clean up left over files and database entries if uninstalling
    - Automation of some tasks the user shouldn't have to worry about eg:
    - Detect if Recordings are in progress when they install the plugin
    - if not stop the TVService for them
    - install files
    - enable the plugin for them
    - restart TVService for them
    - Start TV-Server Config/Open user guide on exit if they want​

    I really wanted to make the installation process as easy as possible and the setup wizard allows more flexibility to do this.
    Wrapping this in the mpe1 makes it compatible with MediaPortal Extension Manager.

    EDIT: Rephrased, clarified and removed misconstruable attempt at satire. :notworthy:
     
    Last edited:

    Edalex

    Community Plugin Dev
  • Premium Supporter
  • January 3, 2008
    2,959
    1,270
    Saratov
    Home Country
    Russian Federation Russian Federation
    We have TVServer plugins bot TVService ones so there was no need to stop TVService. Usually MPEI will kiil some MP-related programs https://github.com/MediaPortal/Medi.../mediaportal/MPE/MpeCore/Classes/Util.cs#L241
    There was enough for most of plugins.
    But you suggestion to add standart actions "start tvservice", "stop tvservice", "kill tvservice" is very good from my point of view. If I understood you right :oops:
     

    hurley

    Portal Pro
    February 2, 2015
    61
    57
    Home Country
    Australia Australia
    Attached Installer project source.
    This is probably not particularly useful on it's own and is not quite ready for public consumption, but might satisfy some curiosities about the plugin installer etc...
    It's designed to replicate as closely as possible the UI that MPEMaker provides, just with extras.
    The project also has a couple of partial copies of MP classes to resolve issues with referencing .NET3.5 vs .NET4.0 libraries.
    (The installer is intended to be universal regardless of which MP version is installed.)
    Consider it a down payment I guess. ;)

    SetupWizard-02-Options.png SetupWizard-03-Install.png
    EDIT: Removed attachment. See first post.
     
    Last edited:

    Users who are viewing this thread

    Top Bottom