MPStartIt - Start MediaPortal with specific plugin (1 Viewer)

rekenaar

Retired Team Member
  • Premium Supporter
  • December 17, 2006
    4,421
    805
    South Africa South Africa
    Please note that the attachment in this post is for old version of MediaPortal BEFORE 1.2 beta!!
    New release by cheezey here.
    Latest release for MP 1.2 Final. Please thank Cheezy here for this release.

    Purpose:
    To start MP directly into a specific plugin.

    Method:
    This process plugin is very simple and make use of the existing MediaPortal functionality to start with the last active module.
    All that the plugin does is to change the value of the last active module to the plugin-id you specified in MPStartIt configuration.

    Configuration/Installation:
    • Copy the dll to the process plugin folder
    • Enable the plugin in MP Configuration
    • Configure the plugin and enter the window id of the plugin you want to start

    Examples:
    You can get any plugin id by editing the plugin xml file.
    A few examples
    • 96742 = MovingPictures
    • 9811 = TVSeries
    • 603 = Recorded TV

    Technical Details:
    If you configure for example to start with MovingPictures, the following values are written to you mediaportal.xml during startup
    • <entry name="showlastactivemodule">yes</entry>
    • <entry name="lastactivemodule">96742</entry>
    The plugin is then stopped immediately.

    Warnings:
    • No validations in the configuration form yet. Make sure you enter correct value.
    • Only tested on MP 1.1.0 RC2 running Windows 7
    • No c# experience, not much time, so please do not request complicated changes ;)

    Version History:
     

    Attachments

    kensiko

    Portal Member
    September 30, 2010
    44
    4
    Canada Canada
    Country flag
    Hello,

    I just installed Media portal today (went from GBPVR which caused me some problems for a while). I spend an hour searching for where the plugin xml files were !!

    I don't know if the place I found is the good place, but I found the ID I was searching for.

    C:\ProgramData\Team MediaPortal\MediaPortal\skin\Blue3

    The ID I was looking is 1, yes 1, to start the TV at startup.
     

    Cryptos

    Portal Member
    November 1, 2010
    6
    0
    This may sound a bit nooby but I can't get this installed
    I put the .dll in \Team MediaPortal\MediaPortal\plugins\process, is that the right place?
    Now how do I install it in MP configuration? It doesn't show up under plugins and I can't install it via Extension Installer, cause it's a .dll and not a .mpe1.
    Also, I can't find the plugin .xml file :(.

    Thanks in advance
     

    Cryptos

    Portal Member
    November 1, 2010
    6
    0
    Unfortunately it doesn't, is that even the right folder I put it in?
    And where's the plugin .xml file?
    greets :)
     

    stdly

    MP Donator
  • Premium Supporter
  • April 19, 2008
    238
    41
    Canada Canada
    Cryptos,
    Is this where you put it as stated in the first post?
    C:\Program Files\Team MediaPortal\MediaPortal\plugins\process

    And the plugins .xml files are in your skin folder mine are here.
    C:\ProgramData\Team MediaPortal\MediaPortal\skin\BleazleWide
    Open any "skinfile.xml" with notebook or your favorite text editor.
    Steve
     

    rekenaar

    Retired Team Member
  • Premium Supporter
  • December 17, 2006
    4,421
    805
    South Africa South Africa
    Cryptos, have you sorted it out?

    And just for clarity, THIS plugin does not have a xml file. Normally it is only the window plugins that comes with xml skin files, not the process plugins.

    You can get any plugin id by editing the plugin xml file.
    The above quote refers to the xml files of other window plugins like TVSeries or MovingPictures.
     

    Users who are viewing this thread

    Similar threads
    OP Title Forum Replies Date
    Steve.Rayner61 MediaPortal won't start following W10 Update General Support 5
    U [Bug] Unhandled Exception on exiting program and occasional system error on starting program Submit: Bug Reports 17
    W [no Bug] MP 2 TV does not start Submit: Bug Reports 1
    Scheibes MP2 - V2.3 TV doesn't start "all cards are busy" General 8
    C Media Portal 1.22 hängt neuerdings beim Start Allgemeines Supportforum 3
    toricred MP2 - V2.3 MP2 2.3 Client won't start General 7
    da3dsoul MP2 Plugin - Getting Started (Directory Tree and Player) Plugin Development 27
    BrownGhost Mepo/MediaInfo takes 59 secunds to open library and start play :o( General Support 30
    D Getting Started General Support 30
    horned_reaper [Music] 5012: Start current music track from the beginning Improvement Suggestions 37
    T [solved] Green Button start MP not working....but box ticked in config. General Support 1
    W [solved] MP suddenly Crashes when starting live TV on most channels and on recordings from the same channels General Support 20
    W [solved] MP suddenly Crashes when starting live TV on some channels and on some recordings Television (MyTV frontend and TV-Server) 1
    vvulture UNKNOWN ERROR when starting live TV General Support 6
    ajs Trakt error when start with MP crash Trakt 1
    F Recording starts at second time only MediaPortal 1 Talk 6
    tano_grasa Movie cover not showing when starting a movie aMPed 0
    ajs [solved] 4982: Why this error hard stop when Mediaportal start? MediaPortal 1 3
    joecrow AMD Radeon Settings app. won't start after hibernation. General Support 0
    Icaro Close MP when the external player is started General Support 13
    M MP1 stops responding after Starting Plugins General Support 14
    joecool70 Fehlermeldung Error invoking action "Start Timeshift" Allgemeines Support- und Diskussionsforum 1
    P MP2 TV Server crashes when starting - throws error remoting exception General 2
    P [solved] MP2 fails to install: "Insufficient privileges to start services" General 16
    T MP bricht Videos und Serien beim Start ab. Allgemeines Supportforum 4

    Similar threads

    Top Bottom