Basic MythTV plugin configuration
Plugin support in MythTV is great, but a little rough around the edges to set up. Here is a quick setup HOWTO.
- In the mythplugins project, select an existing plugin to clone, and copy the directory.
- In the mythplugins project, update the configuration file to build your new plugin.
- In the mythtv project, add a button to the XML ui to access your plugin.
- Bang away on your new plugin!
Details
1. I chose to clone mythmusic.
2. Here's what I needed to add to [mythplugins/configure]:
3. In my case, I added the following block to [mythtv/programs/mythfrontend/library.xml]:
<button> <type>DJ_PLAY</type> <text>Start DJ</text> <action>JUMP Start DJ</action> <depends>mythmusic</depends> <depends>mythdj</depends> </button>
4. I'm doing it now!