Reply to thread

Hello, I never tried to write a plugin in VB but it should be easy to translate the example.

I only have VS C# Express at home so I can not try it, but creating the project, adding the references, implementing the interface should be pretty similar?

Which instructions are giving you troubles?


For the directory I think that if your files are only related to a skin it is better to keep it in the skin directory.

Maybe one exception is that if you want to keep the settings when reinstalling the skin, in this case I will put it in the config directory (see example).

There is an enum in the MediaPortal.Configuration.Config called Dir which gives all the directories.

Then (C#) you do this to get the path to the file:

[CODE] string file = Config.GetFile(Config.Dir.Config, "myfile.xml");[/CODE]


Top Bottom