Reply to thread

If you have followed the tutorial  for the plugin. The code that makes it a windows plugin (rather than a process plugin) is this:


Windows Plugin

[CODE]public bool GetHome(out string strButtonText, out string strButtonImage,

          out string strButtonImageFocus, out string strPictureImage)

        {

            strButtonText = PluginName();

            strButtonImage = String.Empty;

            strButtonImageFocus = String.Empty;

            strPictureImage = String.Empty;

            return true;

        }[/CODE]


Process Plugin

[CODE]    public bool GetHome(out string strButtonText, out string strButtonImage,

      out string strButtonImageFocus, out string strPictureImage)

    {

      strButtonText = String.Empty;

      strButtonImage = String.Empty;

      strButtonImageFocus = String.Empty;

      strPictureImage = String.Empty;

      return false;

    }

[/CODE]

This will put it in the 'My Plugins' screen by default (for MediaPortal v1.0). If you want it on the 'Home' screen you need to change its settings in 'MediaPortal Configuration'.


G


Top Bottom