QUERY SETTING (Myth Protocol)

From MythTV Official Wiki
Jump to: navigation, search

QUERY_SETTING

Arguments

Command arguments: QUERY_SETTING <host name> <setting name>

List arguments: none

Examples

Command:

26      QUERY_SETTING mythtv Theme

Response:

10      MythCenter

Description

Queries the remote host for a specific setting. The backend will look in the MySQL database table 'settings', and attempt to return the value for the given setting. It seems only settings with the hostname set can be retrieved by this call

Returns

The value of the requested setting, or -1 if the setting cannot be found