Opened 19 years ago
Closed 19 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)
by , 19 years ago
Attachment: | host_override.patch added |
---|
comment:1 by , 19 years ago
Owner: | changed from | to
---|
comment:2 by , 19 years ago
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.