Opened 18 years ago
Closed 18 years ago
#1764 closed defect (fixed)
-O/--override-setting doesn't work for GetSettingOnHost
Reported by: | Owned by: | cpinkham | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythtv | Version: | |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
The overridenSettings map is only checked in MythContext::GetSetting?, not in MythContext::GetSettingOnHost?, so it was impossible to override settings such as UseChromaKeyOSD from the command line. This patch adds that ability.
Note that the key must include the host, for example:
/usr/bin/mythfrontend -O "mythtv UseChromaKeyOSD"=1 -v playback
Attachments (1)
Change History (3)
Changed 18 years ago by
Attachment: | host_override.patch added |
---|
comment:1 Changed 18 years ago by
Owner: | changed from Isaac Richards to cpinkham |
---|
comment:2 Changed 18 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
(In [9912]) Allow the -O/--override-setting command to work for MythContext::GetSettingOnHost?(). Bug found by David Asher.
You can use "-O 'hostname setting'=value" or if the hostname being specified is the local machine, then the original method of "-O setting=value" will now also.
Closes #1764 by using a slightly different patch.