[mythtv] Develop new plugin, HOW??

=?ISO-2022-JP?Q?=1B=24B=3F4Mu=1B=28B_Dennis?= hkdennis2k at gmail.com
Fri Sep 9 06:59:09 UTC 2005


I also wanted to ask.

Which IDE or what kind of development environment is suggested for mythtv 
development?

And where I can locate some documentation or system design of it?

thanks,
Dennis


On 9/8/05, Jochen Kühner <jochen.kuehner at gmx.de> wrote:
> 
> I don't know exactly, but is it a good idea to start to write a plugin 
> now??
> 
> Because everything in Myth should be changed to the libmythui I think I
> would wait for a release of the plugins using this...
> 
> -----Ursprüngliche Nachricht-----
> Von: mythtv-dev-bounces at mythtv.org [mailto:mythtv-dev-bounces at mythtv.org] 
> Im
> Auftrag von Carl Reynolds
> Gesendet: Donnerstag, 8. September 2005 03:07
> An: shoote at gmail.com; Development of mythtv
> Betreff: Re: [mythtv] Develop new plugin, HOW??
> 
> Barvaz Zan wrote:
> 
> > I'm very intersted in developing my own addons to MythTV.
> > How can I write new Plugins?
> 
> Get a copy of mythplugins-0.18.1.tar.bz2 from
> http://mythtv.org/modules.php?name=Downloads&d_op=getit&lid=125.
> 
> Look at the source for mythdvd. In the file main.cpp you'll see there
> are three functions declared extern "C" { }. They are 'mythplugin_init',
> 'mythplugin_run', and' mythplugin_config'. These are the entry points
> that MythTV uses to connect to any plugin. mythdvd is probably a good
> example to start with. You'll see that it calls other functions within
> the main to implement the dvd plugin, but that it starts with above
> three functions.
> 
> Figure out what you want to do in your plugin, and start writing the
> init, run and config functions using mythdvd as an example. Once you
> have compiled the plugin, as a dynamically loaded library (for example,
> libmythdvd.so) copy it to the mythtv/plugins directory. On my machine
> it's /usr/local/lib/mythtv/plugins. It may be somewhere else such as
> /usr/lib/mythtv/plugins on your machine.
> 
> You should now be able to connect to your plugin through a menu item,
> for example.
> 
> 
> 
> Carl.
> 
> 
> 
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
> 
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-dev/attachments/20050909/dafc42b5/attachment.htm


More information about the mythtv-dev mailing list