How to start writing your own plugin part 1 available (2 Viewers)

charli181

Retired Team Member
  • Premium Supporter
  • August 3, 2007
    800
    111
    Sydney
    Home Country
    Australia Australia
    I will look into this and update the wiki. We are currently trying to resolve the wiki navigation nightmare. Will post back once it has been resolved.

    here is the proper page for now MediaPortal1 Development/PluginDevelopersGuide - MediaPortal Wiki Documentation

    All the development requirements can be found here on the wiki.

    MediaPortal1 Development - MediaPortal Wiki Documentation. They have been updated

    Why is the plugin development documentation hidden so well? Its like they don;t want me to write one.

    MEDIAPORTAL - free MediaCenter HTPC Software -> I don;t have permissions

    http://wiki.team-mediaportal.com/PluginDevelopersGuide -> empty page

    https://www.team-mediaportal.com/Plug...inTutorial.doc -> dead link

    https://www.team-mediaportal.com/Plug.../OurPlugin.zip -> dead link

    MEDIAPORTAL - free MediaCenter HTPC Software - HTTP Error 404 -> dead link

    WTF, really I must be missing something here.

    Can I ask where you fond all these links to see if we can adjust them? - Don't worry read first page of this thread....
     

    marcelgl

    Portal Member
    July 6, 2007
    19
    0
    Home Country
    Netherlands Netherlands
    Hi,

    I just started to try to make a plugin but encountered some problem. Since I`m new to visual C# I think the fastest way is to ask here.

    I added core.dll to the references, when I clock on core.dll I can see the namespace Mediaportal in the object browser.

    At the top of my file I have the following : using Mediaportal.GUI.Library;

    When building I get the error message that the namespace Mediaportal is not found.

    Am I overlooking something ?

    Regards,

    Marcel
     

    jsimmons

    Portal Pro
    December 6, 2008
    126
    2
    Home Country
    United States of America United States of America
    Ummm, is it me, or is the wiki documentation for writing plugins lagging far behind the realities of the current organization of the source code? I'd really like to write a couple of plugins (for v1.n), but the documentation appears to be out of date.
     

    erichzann

    MP Donator
  • Premium Supporter
  • October 25, 2011
    244
    34
    Oxford
    Home Country
    United Kingdom United Kingdom
    Hi All,

    I would be grateful if someone could help.

    I have been using the guide here:

    http://wiki.team-mediaportal.com/1_...s/Plugin_Developer's_Guide/1_Develop_a_Plugin


    However, following the steps through to compiling and then testing the plugin, I can't get the plugin to show up in the MP Config.

    Can someone let me know what the changes are to creating plugins which are not captured on this wiki page so that I can get the test plugin working.

    Thanks
     

    erichzann

    MP Donator
  • Premium Supporter
  • October 25, 2011
    244
    34
    Oxford
    Home Country
    United Kingdom United Kingdom
    Thanks for your quick reply.

    Yep, I had already done that.

    If I hadn't I assumed it would just be listed as an incompatible plugin?
     

    Edalex

    Community Plugin Dev
  • Premium Supporter
  • January 3, 2008
    2,956
    1,265
    Saratov
    Home Country
    Russian Federation Russian Federation
    Yeah.
    Otherwise you could do step-by-step debugging or at least search exceptions in logs.
    Also please check that your project is set to .Net 3.5
     
    Last edited:

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    @erichzann @Edalex feel free to add anything important to the wiki. If you feel daunted you can always add it as a comment in the comments section of the wiki. It might help others having the same issues, or save someone else a lot of time :)
     

    erichzann

    MP Donator
  • Premium Supporter
  • October 25, 2011
    244
    34
    Oxford
    Home Country
    United Kingdom United Kingdom
    Thanks. Yep, using .Net 3.5

    The MP Logs gave me the following:

    PluginsNew: C:\Program Files (x86)\Team MediaPortal\MediaPortal\Plugins\windows\Test Plugin.dll has a bad image format
     
    Last edited:

    Users who are viewing this thread

    Top Bottom