Configuration "section" parameter (1 Viewer)

horned_reaper

Test Group
  • Team MediaPortal
  • January 7, 2011
    1,235
    464
    Munich
    Home Country
    Germany Germany
    I'd like to open the configuration screen of a specific plugin (FRITZ!Box Manager) on Configuration start.
    As described in the Wiki there is a "section" parameter for the Configuration.exe:
    • Configuration.exe /section=xxx (where xxx is the section you wish to open to)
    I tried with several command variations but it doesn't work e. g.:
    Configuration.exe /section="FRITZ!Box Manager"
    Configuration.exe /section="Plugins\FRITZ!Box Manager"
    Configuration.exe /section=Plugins
    Configuration.exe /section="Plugins"

    Any help is higly appreciated!
     

    horned_reaper

    Test Group
  • Team MediaPortal
  • January 7, 2011
    1,235
    464
    Munich
    Home Country
    Germany Germany
    I'd like to open the configuration screen of a specific plugin (FRITZ!Box Manager) on Configuration start.
    As described in the Wiki there is a "section" parameter for the Configuration.exe:
    • Configuration.exe /section=xxx (where xxx is the section you wish to open to)
    I tried with several command variations but it doesn't work e. g.:

    Configuration.exe /section="FRITZ!Box Manager"
    Configuration.exe /section="Plugins\FRITZ!Box Manager"
    Configuration.exe /section=Plugins
    Configuration.exe /section="Plugins"

    Any help is higly appreciated!

    No one there who is familiar with the command-line parameters of Configuration.exe?
     

    offbyone

    Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    Looking at the code of Configuration.exe, yes the parameter is there and evaluated, but nothing done with it. So to me it seems what you want to do is not possible with Configuration.exe.
    However you can directly run the Config screen of a plugin with the MpeCore.dll (same way MPE installer tool does). There is a PluginLoader class with a Load method. All you need to take care is to start the "Runner" application in the MP dir.
     

    Users who are viewing this thread

    Top Bottom