[mythtv] Feature: Configurable LIRC client name [PATCH]

Michael T. Dean mtdean at thirdcontact.com
Tue Feb 16 02:49:13 UTC 2010

On 02/15/2010 12:54 PM, David Kubicek wrote:
> I'm sending a small patch that enables changing MythTV's LIRC client 
> ("program") name. This is quite useful when you have mythfrontend and 
> mythtv-setup or several mythfrontends open at the same time. All these 
> apps use "mythtv" client name by default, but by making this client 
> name configurable, I can use the existing command-line overrides to 
> allow different instances use a different name, hence different LIRC 
> modes/mappings. 

<my opinion>Die, new setting!  Die!</my opinion>

How about program = mythtv works for mythfrontend, mythtv-setup, ...

program = mythfrontend works only for mythfrontend.
program = mythtv-setup works only for mythtv-setup.

No settings required.  Then, if a user wants different keys for 
different client apps, they map them appropriately in their lircrc.  
Otherwise, the same mythtv that we've always used will work fine for the 
other 99.999%.  :)

It would require a bit more code, probably (as I haven't looked into the 
LIRC libs), but I really think we have enough settings--even if this 
would have been an "undocumented setting" (which may actually be worse 
than making it a setting with a GUI control, because it encourages 
direct DB editing).


More information about the mythtv-dev mailing list