Welcome to Media Center Master!
A powerful solution for mastering your digital media library.
Supporting Emby, Kodi/XBMC/OSMC, Plex, Windows Media Center, and more!

Home Download Gallery Wiki Issue Tracker Licensing Forums

   FAQ  •  Search •  Login •  Register     
It is currently June 1st, 2023, 5:53 am

All times are UTC - 7 hours [ DST ]



Post new topic Reply to topic  [ 23 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: Plugin templates for use with Microsoft Visual Studio 2008
PostPosted: May 20th, 2009, 5:39 pm 
Offline
Developer/Owner
User avatar

Joined: May 1st, 2009, 10:12 am
Posts: 11747
Location: Meridian, ID, USA
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.

_________________
Peter Souza IV
stable version 2.24.11922.987 / April 29th, 2022
Media Center Master on Facebook!


Last edited by Pete on February 10th, 2010, 1:17 pm, edited 1 time in total.

 Profile  
 Post subject: Re: Plugin templates for use with Microsoft Visual Studio 2008
PostPosted: May 22nd, 2009, 8:48 am 
Offline
Community Support
User avatar

Joined: May 9th, 2009, 8:40 pm
Posts: 94
Location: Perth, Western Australia
Pete,

Do you have a template for your screen scraper?

Cheers,
Darren

_________________
Cheers,
Darren


 Profile  
 Post subject: Re: Plugin templates for use with Microsoft Visual Studio 2008
PostPosted: May 25th, 2009, 9:58 am 
Offline
Developer/Owner
User avatar

Joined: May 1st, 2009, 10:12 am
Posts: 11747
Location: Meridian, ID, USA
Not yet, but I can post one for ADVDE soon. The templates take a while to organize and comment correctly.

_________________
Peter Souza IV
stable version 2.24.11922.987 / April 29th, 2022
Media Center Master on Facebook!


 Profile  
 Post subject: Re: Plugin templates for use with Microsoft Visual Studio 2008
PostPosted: August 9th, 2009, 4:23 pm 
Offline
Downloaded Clip

Joined: August 9th, 2009, 4:21 pm
Posts: 1
Have you managed to get round to publishing the source for the ADVDE plugin?


 Profile  
 Post subject: Re: Plugin templates for use with Microsoft Visual Studio 2008
PostPosted: August 10th, 2009, 3:09 am 
Offline
Downloaded Clip

Joined: August 7th, 2009, 11:56 pm
Posts: 4
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 :)


 Profile  
 Post subject: Re: Plugin templates for use with Microsoft Visual Studio 2008
PostPosted: August 24th, 2009, 8:24 am 
Offline
Developer/Owner
User avatar

Joined: May 1st, 2009, 10:12 am
Posts: 11747
Location: Meridian, ID, USA
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.

_________________
Peter Souza IV
stable version 2.24.11922.987 / April 29th, 2022
Media Center Master on Facebook!


 Profile  
 Post subject: Re: Plugin templates for use with Microsoft Visual Studio 2008
PostPosted: February 10th, 2010, 1:18 pm 
Offline
Developer/Owner
User avatar

Joined: May 1st, 2009, 10:12 am
Posts: 11747
Location: Meridian, ID, USA
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.

_________________
Peter Souza IV
stable version 2.24.11922.987 / April 29th, 2022
Media Center Master on Facebook!


 Profile  
 Post subject: Re: Plugin templates for use with Microsoft Visual Studio 20
PostPosted: August 29th, 2010, 8:01 am 
Offline
Downloaded Clip

Joined: August 29th, 2010, 7:51 am
Posts: 1
Is there a template for the:
themoviedb.org API 2.1??


 Profile  
 Post subject: Re: Plugin templates for use with Microsoft Visual Studio 20
PostPosted: August 30th, 2010, 5:51 pm 
Offline
Developer/Owner
User avatar

Joined: May 1st, 2009, 10:12 am
Posts: 11747
Location: Meridian, ID, USA
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.

_________________
Peter Souza IV
stable version 2.24.11922.987 / April 29th, 2022
Media Center Master on Facebook!


 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 23 posts ]  Go to page 1, 2, 3  Next

All times are UTC - 7 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group



Copyright © 2009-2023, Media Center Master, Inc. All rights reserved.