Media Center Master community forums
http://forums.MediaCenterMaster.com/

Plugin templates for use with Microsoft Visual Studio 2008
http://forums.MediaCenterMaster.com/viewtopic.php?f=9&t=62
Page 1 of 3

Author:  Pete [ May 20th, 2009, 5:39 pm ]
Post subject:  Plugin templates for use with Microsoft Visual Studio 2008

Attached are templates you can use for building your own meta-fetching plugins for use with Media Center Master.

themoviedb.org meta fetcher, plugin system 2.0 (Visual C#)
themoviedb.org meta fetcher, plugin system 1.0 (Visual Basic.Net) (not supported -- use at your own risk)

As of version 1.20 build 4110.xxx, Media Center Master uses a full-blown serialized plugin system that allows forward compatibility without authors having to recompile their plugins on major releases. The attached projects are for Microsoft Visual Studio 2008 (you can download the express version for free) and with the exception of not including a themoviedb.org API key (you can get one for yourself here), they will work out of the box.

Media Center Master will let you create and use custom plugins for obtaining data, such as from moviemeter.nl, anidb.net, etc. for meta data fetching.

Plugin system 1.0 required the use of the "MCM Common" library, which contains some basic functions for text/HTML formatting/stripping, reading application settings/preferences, fetching URLs, logging to Media Center Master's text area, etc. These methods are not yet documented, but they shouldn't be too difficult to figure out, especially with the given example. This .DLL needed to be removed and re-referenced every time there was an update in Media Center Master related to this library. Plugin system 2.0 does not have this limitation.

Enjoy! Feedback is appreciated.

Author:  Simplifyit [ May 22nd, 2009, 8:48 am ]
Post subject:  Re: Plugin templates for use with Microsoft Visual Studio 2008

Pete,

Do you have a template for your screen scraper?

Cheers,
Darren

Author:  Pete [ May 25th, 2009, 9:58 am ]
Post subject:  Re: Plugin templates for use with Microsoft Visual Studio 2008

Not yet, but I can post one for ADVDE soon. The templates take a while to organize and comment correctly.

Author:  ScottIsAFool [ August 9th, 2009, 4:23 pm ]
Post subject:  Re: Plugin templates for use with Microsoft Visual Studio 2008

Have you managed to get round to publishing the source for the ADVDE plugin?

Author:  uradox [ August 10th, 2009, 3:09 am ]
Post subject:  Re: Plugin templates for use with Microsoft Visual Studio 2008

I found there is actually enough information for a scraper in this template. I am quite happily progressing with my kmdb plugin and I got next to zero experience with c# or .net :)

Author:  Pete [ August 24th, 2009, 8:24 am ]
Post subject:  Re: Plugin templates for use with Microsoft Visual Studio 2008

ScottIsAFool wrote:
Have you managed to get round to publishing the source for the ADVDE plugin?


I haven't yet, nope. ADVDE is just a scraper and there should be plenty in my samples for someone to throw together their own. I recently bought a house and am moving this weekend -- I will also be out of town two weeks from now for a wedding, so my time has been cut very short recently. I'm trying to push out a new bug-fix release soon though.

Author:  Pete [ February 10th, 2010, 1:18 pm ]
Post subject:  Re: Plugin templates for use with Microsoft Visual Studio 2008

Plugin system 2.0 has been released -- all plugin developers should update their code to support the new system, which allows serialization of data and the removal of the MCM Common library reference to support forward compatibility.

Author:  niknak [ August 29th, 2010, 8:01 am ]
Post subject:  Re: Plugin templates for use with Microsoft Visual Studio 20

Is there a template for the:
themoviedb.org API 2.1??

Author:  Pete [ August 30th, 2010, 5:51 pm ]
Post subject:  Re: Plugin templates for use with Microsoft Visual Studio 20

You can easily modify the example provided to work with API 2.1. At some point if I have the time, I will update these templates.

Page 1 of 3 All times are UTC - 7 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/