[mythtv-users] one frontend to multiple TVs, changing audio

Mark Wedel mwedel at sonic.net
Thu Jan 16 06:38:14 UTC 2014


On 12/21/13 09:41 AM, Raymond Wagner wrote:
> No, but you can specify a configuration path. The configuration path is set by
> MYTHCONFDIR, if defined, falling back to HOME/.mythtv otherwise. Both of these
> are pulled from the environment, so both of these can be configured in the
> environment prior to running mythfrontend. The config.xml is always pulled from
> the base of that path.
>
> All configuration is stored in the database, indexed by a profile name that
> defaults to the machine's hostname. If using multiple independent configurations
> on a single machine, one _must_ define a custom profile name for each using the
> <LocalHostName> element.

  thanks for the tips on this - I finally got around to setting things up the 
way I want, and thought I'd include the information in case someone searching 
the archives down the road has the same question.

I made up a couple short scripts (attached).  The first one, mythtv-cycle.sh is 
run in place of mythfrontend in the .xsession file, and restarts the frontend 
with the appropriate profile.  The other script changes the action & resolution 
(there is a third script not included here which sets up for 720p resolution, 
but it is fundamentally the same as the second).

Since I'm using harmony remotes, this works really nice as in part of the 'watch 
mythtv' action, the appropriate remote sends the appropriate key for what TV I'm 
using it on. The different configurations have the different audio settings.

This works better than trying to run 2 frontends at the same time on the same 
machine - I don't have to worry about mapping keys to a specific frontend (which 
would be difficult using mceusb remotes), and certainly is less resource 
intensive.  Since I don't ever expect to watch different things on the different 
TVs at the same time, a single frontend works just fine for me.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: mythtv-1080p.sh
Type: application/x-shellscript
Size: 545 bytes
Desc: not available
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20140115/bc3b832c/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mythtv-cycle.sh
Type: application/x-shellscript
Size: 1212 bytes
Desc: not available
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20140115/bc3b832c/attachment-0001.bin>


More information about the mythtv-users mailing list