Normal
Hello, I'm new to the forum although a longtime MP user and would like to take a more active role in the MP community. I am trying to develop a plugin that is basically rewriting an existing open source project that accesses a popular music streaming site as a MP plugin. I'm new to developing plugins for MP, so I'm a bit confused. Please tell me if there's somewhere else I need to put this request.My question:I have a C# class that inherits from GUIWindow, ISetupForm, like so[CODE]public class MyPlugin : GUIWindow, ISetupForm[/CODE]I've overridden init ie:[CODE]public override bool Init() { return Load(GUIGraphicsContext.Skin + @"\myplugin.xml"); }[/CODE]and several other methods but don't want to clutter this post. The constructor of my class has no code in it.When I try to use my plugin from mediaportal it looks like it's "going into" the plugin and then immediately goes out to the menu.I can paste more source code if anyone needs but I'm sure I am missing a method or something...I'm new to this, so go easy on me this time
Hello, I'm new to the forum although a longtime MP user and would like to take a more active role in the MP community.
I am trying to develop a plugin that is basically rewriting an existing open source project that accesses a popular music streaming site as a MP plugin. I'm new to developing plugins for MP, so I'm a bit confused. Please tell me if there's somewhere else I need to put this request.
My question:
I have a C# class that inherits from GUIWindow, ISetupForm, like so
[CODE]public class MyPlugin : GUIWindow, ISetupForm[/CODE]
I've overridden init ie:
[CODE]public override bool Init()
{
return Load(GUIGraphicsContext.Skin + @"\myplugin.xml");
}[/CODE]
and several other methods but don't want to clutter this post. The constructor of my class has no code in it.
When I try to use my plugin from mediaportal it looks like it's "going into" the plugin and then immediately goes out to the menu.
I can paste more source code if anyone needs but I'm sure I am missing a method or something...
I'm new to this, so go easy on me this time