That's good. We also store all configuration in our MySql database. For example, in the pluto admin site, if I say that in my living room I have: a DVD player, a VCR, a TV, a Receiver, a Sat box, and a PVR capture card. Connections:
dvd player->(video ) TV (input 2) ->(audio) Receiver (input Video 1)
VCR->TV (Input 3)
Sat Box - LIVE TV: ->TV (input 3)
Sat Box - RECORDED TV -> ivtv PVR Capture card (input S-Video) -> TV (input 4)
OTA antenna - LIVE TV: ->TV (input Tuner)
OTA antenna - RECORDED TV: ivtv PVR Capture card (input Antenna) -> TV (input 4)
Those are all devices in the pluto_main database (table: Device), and the connections in table: Device_Device_Pipe. Our media plugin needs all this information: Say I hit 'fast forward' on one of my i/r remotes. The command comes in through the i/r device, is intercepted by the media device, which determines the current video source is the DVD player, so it translates the i/r into a dvd fast forward. I hit volume up, and it knows that type of command follows the 'audio' connection, so it goes from the current source (dvd) down the audio connection to the Receiver and sends the receiver a volume up.
This approach means without any programming the user can pick up virtually any remote in the house and any i/r code will be translated and do what the user expects. It also means we have a complete connection diagram of how all the stuff in the house is wired--where the pvr cards are and so on.
Therefore, we have enough information to automatically configure all the myth systems in a very intuitive manner. For example, what we're doing now with VDR is that it always keeps track of each users favorite shows and channels. So when I hit TV, the nearest TV comes on to my most favorite show automatically (say CNN). But it also finds unused capture cards throughout the home and uses those to capture video preview windows of my other preferred shows, and feed those preview windows to the orbiter. So, when I hit tv on the web pad orbiter my most favorite show 'larry king on cnn' comes on automatically. But my 2nd most favorite show 'er on NBC' appears as a preview window on the web pad, along with my 3rd, 4th, etc. (depending on how many unused cards are in the home). This way chances are i won't need to use the epg. If I want to watch 'er' I just touch the preview window for 'er' on the web pad and er appears on the main tv and cnn appears on the web pad's preview window where er was.
We're trying to put lots of logic like this in our vdr plugin so that the user experience is very intuitive and every user can leverage all the media resources throughout the house. Since we have 1 central database that lists all media devices and all connections, we could probably do some auto-configuration of all the myth players by setting values in myth's database to make things more automatic. But none of us are too familiar with Myth, so at the moment, we don't really do anything to pre-configure or coordinate the myth setup. No configuration settings in pluto's setup carry over to myth. We just install the vanilla myth package and it's up to the user to configure Myth on his own using Myth's normal config mechanism.