BasicHome Editor: Can I add a shortcut of a non-listed plugin? (1 Viewer)

trepamuros

Portal Pro
December 2, 2008
71
2
Home Country
Spain Spain
Hello,

I would like to create an item (either for the BasicHome or for one of the sub-menus) to launch some of the plugins I've created with MultiShortCut plugin.

Once created, I can navigate the BasicHome, enter Plugins menu and I can launch them from there. So, the plugins are active and are recognized by MP.

But the plugins created with MultiShortCut are not listed on the Editor's xml list, so I can't add them to the BasicHome or to any second-level menu.

Is there a way for this?

Thanks in advance.
 

trevor

Portal Pro
October 17, 2006
1,600
950
Chelmsford
Home Country
United Kingdom United Kingdom
Hello,

I would like to create an item (either for the BasicHome or for one of the sub-menus) to launch some of the plugins I've created with MultiShortCut plugin.

Once created, I can navigate the BasicHome, enter Plugins menu and I can launch them from there. So, the plugins are active and are recognized by MP.

But the plugins created with MultiShortCut are not listed on the Editor's xml list, so I can't add them to the BasicHome or to any second-level menu.

Is there a way for this?

Thanks in advance.

Hi,

I don't actually run this plugin so I can't test but if the plugins can be started by the hyperlink tag this may be possible.

Create an xml file in the skin directory, name it <nameofplugin>.xml and add the following lines

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<window>
<id>12345</id>
<controls>
<!-- Dummy skin file for plugin xxxxxx -->
</controls>
</window>


replace '12345' with the plugin ID that is defined in the MultiShortcut plugin.

You will then see this file in the xml file list and can add it to basichome main and submenus.

I have no idea if this will work but you can but try - let us know if it works

Cheers
 

framug

Super Moderator
  • Team MediaPortal
  • January 31, 2005
    6,047
    2,131
    South of France
    Home Country
    France France
    Re : BasicHome Editor: Can I add a shortcut of a non-listed plugin?

    Hi Trevor,
    Some times ago, I thought about some automation for this, inside MultiShortcut plugin.
    Unfortunately, without defined rules, (I mean common rules for all skins, ie : a specific identical named folder for all skins, in correct arborescent), I'm afraid this is not possible on plugin side, without jobbing for each skin.
    Sorry for a global solution on it.
     

    trevor

    Portal Pro
    October 17, 2006
    1,600
    950
    Chelmsford
    Home Country
    United Kingdom United Kingdom
    Re: Re : BasicHome Editor: Can I add a shortcut of a non-listed plugin?

    Hi Trevor,
    Some times ago, I thought about some automation for this, inside MultiShortcut plugin.
    Unfortunately, without defined rules, (I mean common rules for all skins, ie : a specific identical named folder for all skins, in correct arborescent), I'm afraid this is not possible on plugin side, without jobbing for each skin.
    Sorry for a global solution on it.

    Hi framug,

    Thanks for clarifying, I did not how it worked so made a guess at something that may have worked.
     

    trepamuros

    Portal Pro
    December 2, 2008
    71
    2
    Home Country
    Spain Spain
    Trevor:

    IT WORKED!

    Created the xml as you stated, put in on the skin folder then the editor listed it. I was able to call the plugin from within MP with no problem!

    I don't know if framug encountered some troubles with other MP versions, but it worked perfectly here.

    Thank you very much for your help.
     

    framug

    Super Moderator
  • Team MediaPortal
  • January 31, 2005
    6,047
    2,131
    South of France
    Home Country
    France France
    Re : Re: BasicHome Editor: Can I add a shortcut of a non-listed plugin?

    I don't know if framug encountered some troubles with other MP versions, but it worked perfectly here.
    I wanted to add a feature for create the xml skin file and launch skin editor.
    But, depending on skins, editor is not at the same place, hope it's more clear. ;)
     

    trevor

    Portal Pro
    October 17, 2006
    1,600
    950
    Chelmsford
    Home Country
    United Kingdom United Kingdom
    Re: Re : Re: BasicHome Editor: Can I add a shortcut of a non-listed plugin?

    I don't know if framug encountered some troubles with other MP versions, but it worked perfectly here.
    I wanted to add a feature for create the xml skin file and launch skin editor.
    But, depending on skins, editor is not at the same place, hope it's more clear. ;)

    That is, you could just create the xml stub file in the active skin directory with an option to regenerate option to cover a skin change but that will get a little messy.

    What is really needed is a common skin file area for generic xml files.
     

    framug

    Super Moderator
  • Team MediaPortal
  • January 31, 2005
    6,047
    2,131
    South of France
    Home Country
    France France
    Re : Re: Re : Re: BasicHome Editor: Can I add a shortcut of a non-listed plugin?

    That is, you could just create the xml stub file in the active skin directory with an option to regenerate option to cover a skin change but that will get a little messy.

    What is really needed is a common skin file area for generic xml files.
    Well, in fact, I thought about something like that :
    What could be made for all skins with editor :
    Example with StreamedMP (change StreamedMP string by other, like Black Glass)
    Create a folder
    \Application Data\Team MediaPortal\MediaPortal\skin\StreamedMP\SkinEditor
    Put SkinEditor.exe inside this folder.
    Give an ability to launch the SkinEditor.exe silently and, with parameters
    Example :
    SkinEditor.exe /SILENT /GENERATE
    Perhaps create another folder :
    \Application Data\Team MediaPortal\MediaPortal\skin\StreamedMP\MultiShortcut where MultiShortcut .xml files could be processed by the SkinEditor.
    But, it needs that all skinners agree with a common solution.
     

    Users who are viewing this thread

    Top Bottom