[[Image(mythtv.png,align=center,50%)]] = Introduction = The MythTV media plugin is a [http://wiki.micasaverde.com/index.php/Luup_Plugins Luup component] that permits the Remote Control of MythTV Frontends (version 0.25 or later). = How does it work = This Plug-in is able to control a MythTV Frontend using the [http://www.mythtv.org/wiki/Services_API MythTV services API]. Once connected, and configured, the plug-in sends HTTP commands to the receiver. If polling is enabled, it will also update and display the presently displayed media information in the dashboard. Most remote commands are currently supported and its best used in conjunction with SQRemote to provide a more seamless experience. The plug-in contains a list of commands and maps them to "well known" Actions within Vera's Media Automation Services. == Notes == * For installation of the plug-in, it is not recommended to use Internet Explorer, or change the naming convention of the files in any way. * During Plug-in creation, the exact files must be used; this includes keeping the case sensitivity. * The IP address *must* also include the port number. The default MythTV Frontend services API port is 6547. = Installation = 1. Download the following files from source control: [http://code.mios.com/trac/mios_mythtv/export/3/D_MythTVFrontend1.json D_MythTVFrontend1.json] [http://code.mios.com/trac/mios_mythtv/export/3/D_MythTVFrontend1.xml D_MythTVFrontend1.xml] [http://code.mios.com/trac/mios_mythtv/export/3/I_MythTVFrontend1.xml I_MythTVFrontend1.xml] [http://code.mios.com/trac/mios_mythtv/export/3/json.lua json.lua] 1. Goto ''Devices'' --> ''Luup plugins'' --> ''Luup files'' 1. Click the '''(Browse)''' buttons on the right, and enter the 4 filenames referenced at the end of the URL above. 1. Select the checkbox "''[x] Restart Luup after upload''" and click '''(Go)''' 1. ... wait whilst it uploads and restarts the Lua engine ... 1. If successful, you'll see the files listed in the System (using the exact names listed above). 1. Navigate to ''Devices'', scroll to the bottom at the ''Add device'' form. 1. Type "`D_MythTVFrontend1.xml`", and click '''(Add Device)''', type in a name of your choice against the device, enter in the ip address (with port number), and then then click '''(Save)''' 1. You may need to reload luup again to get the device to be displayed. If everything works correctly, then the current media information will be displayed. Once the device is responding properly, polling can be disabled or the frequency adjusted from the advanced properties tab. The default polling frequency is every 60 seconds. = Testing = This Device is exposed through MiOS Control Points that expose the Media Control interfaces (like [http://squareconnect.com SQ Remote]). You can then Assign these Actions to the Buttons of the Control Point. You can also test the commands using the lu_invoke web interface. Browse to {{{http://:3480/data_request?id=lu_invoke}}}, select the "MythTV Frontend" device, and click on any link to run that command. Note that only commands listed with a * are currently supported. The commands will perform different functions depending on how your mythtv instance is configured. Browse to {{{http://:6547/Frontend/GetActionList}}} to get a list of your supported actions and what they do. = Errors = = Releases = = Discussion = = References = * [http://www.mythtv.org/wiki/Services_API Services API]