AW: [mythtv] First contact with mythtv-dev

Jochen Kühner jochen.kuehner at
Fri Sep 16 07:56:05 UTC 2005

I've started to create some Dev Information in teh new Wiki, but only a File
List until now, but if some people help it will grow...

-----Ursprüngliche Nachricht-----
Von: mythtv-dev-bounces at [mailto:mythtv-dev-bounces at] Im
Auftrag von Carl Reynolds
Gesendet: Freitag, 16. September 2005 05:21
An: Development of mythtv
Betreff: Re: [mythtv] First contact with mythtv-dev

mythtv at wrote:

>I like develop, and create or modify a plugins for mythtv.
>How initiate at program? Exists a manual or tutorial for create a simple
>plugin ?
Get a copy of  mythplugins-0.18.1.tar.bz2 from

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, 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.

mythtv-dev mailing list
mythtv-dev at

More information about the mythtv-dev mailing list