[mythtv-users] Two frontend instances on one box
Joseph A. Caputo
jcaputo1 at comcast.net
Tue Jan 6 15:19:11 EST 2004
On Tuesday 06 January 2004 11:04, Lance Tost wrote:
> I've made some progress with this. But ran into a potential major
> problem.
>
> I would like to use one server as a backend and drive two frontend
> instances off of it. The plan is to put it in the basement and run
> RCA cables up to our main TV and use the monitor for TV int he
> basement.
>
> It has two M179s in it and an analog tv capture card (not currently
> configured for myth). It has agp video w/ tv-out and pci video
> (connected to a monitor). I have onboard sound and a soundblaster
> card installed.
>
> I have gotten X up and running dual-head. I can start mythtv on the
> TV screen and a separate instance on the monitor. However, they both
> want to use the same soundcard. So I figured I could run
> mythfrontend as two different users (mythup for upstairs and mythdown
> for downstairs) each with their own settings. The problem is, I
> realized at this point that these settings are stored in the db and
> unique only to hostname.
>
> Does anyone have any suggestions as to how I could run two instances
> of mythfrontend on the same box, each with their own settings? The
> way I see it, I have two options.. neither of which I know much about
> yet.
>
> 1) Submit a patch for myth to key frontend settings on hostname and
> userid (or some other data)
>
> 2) Look into some way of running each instance in some sort of
> virtual host with its own IP. I don't know if anything like this
> exists but I'll look into it.
>
> Any other ideas?
In ${HOME}/.mythtv/mysql.txt, set "LocalHostName=<bogus hostname>".
This will override the hostname for the frontend on a per-user basis.
-JAC
More information about the mythtv-users
mailing list