px
px
border
px
   
px
div
Information
null.gif Home

null.gif News
 Topics
 Stories Archive
null.gif Content
 Articles
 Tutorials
 Downloads
 Web Links
 Forums
null.gif Other Stuff
interdit Feedback
 Recommend Us
 Statistics
 Search
 RSS
 Your Account

Digital Video
Installing MythTV
MythWeb Hacks
Remote Control
Hardware Kit
Complete System

Digital Surveillance
Installing Zoneminder
Hardware Kit

VIA EPIA
Comparison Chart
Performance
Optimizing

Store Information
Shipping & Returns
Privacy Notice
Conditions of Use
Contact Us

div
  TopMy Account  |  Cart Contents  |  Checkout   
Hacking MythWeb
Adding Remote Control Functionality

Page: 1/8

As part of our MythTV tutorial we installed MythWeb. Doing so is pretty easy and we will repeat the instructions here. However we want to go beyond that.

MythWeb does a great job of managing recordings and recorded shows as well as showing program and movie listings. These features depend primarily upon the mythbackend database. We want to go beyond that and control mythfrontend. mythfrontend doesn't have any direct, programatic means of control. It's only means of control is the user interface. The user interface accepts mouse and keyboard inputs so we can exercise some programatic control by simulating keyboard events. This is how an infrared remote works with MythTV.

One weakness of this approach is this - its strictly one way. We can tell mythfrontend to do things but we can't ask anything. This matters because the things we can tell it to do, that is the commands we can invoke, depends on what mythfrontend is doing. For example, a slightly different set of commands are available if we are watching live TV versus watching a recording. In programming terms we call “what mythfrontend is doing” its “state” and would like the ability to query mythfrontend for its state. That way we could display the appropriate UI for the commands available in its current state. The same problem exists for other remotes so we're no worse off. Just venting a little.

We will start off installing Apache 2 and MythWeb v0.17. These instructions are repeated from the MythTV tutorial and assume you are running Gentoo Linux. You can skip ahead if you already have these installed.




Next Page (2/8) Next Page


div
Survey
Are you doing a Car-PC project?

Yes, active now
Yes, planning stage
Thinking about it
No, not interested



Results
Polls

Votes: 328
Comments: 0

Login
Login Name

Password

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Who's Online
There are currently, 7 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here

div



MagicITX Logo © 2004.
All other logos and trademarks in this site are property of their respective owner. Comments are the property of their poster.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty for details see the license.
Page Generation: 0.123 Seconds