MPStartIt - Start MediaPortal with specific plugin (1 Viewer)

rekenaar

Retired Team Member
  • Premium Supporter
  • December 17, 2006
    4,421
    805
    Home Country
    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

    • MPStartIt v0.0.1.zip
      4.2 KB
    • MPStartIt source.zip
      25.7 KB

    kensiko

    Portal Member
    September 30, 2010
    44
    4
    Home Country
    Canada Canada
    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
     

    stdly

    MP Donator
  • Premium Supporter
  • April 19, 2008
    238
    41
    Home Country
    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
    Home Country
    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

    Top Bottom