QUERY SETTING (Myth Protocol)

From MythTV Official Wiki
Revision as of 08:00, 18 July 2010 by Wagnerrp (talk | contribs) (moved Myth Protocol/Commands/QUERY SETTING to QUERY SETTING (Myth Protocol))

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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