Opened 14 years ago

Closed 14 years ago

#1764 closed defect (fixed)

-O/--override-setting doesn't work for GetSettingOnHost

Reported by: david.asher@… 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)

host_override.patch (1.2 KB) - added by david.asher@… 14 years ago.

Download all attachments as: .zip

Change History (3)

Changed 14 years ago by david.asher@…

Attachment: host_override.patch added

comment:1 Changed 14 years ago by cpinkham

Owner: changed from Isaac Richards to cpinkham

comment:2 Changed 14 years ago by cpinkham

Resolution: fixed
Status: newclosed

(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.

Note: See TracTickets for help on using tickets.