Инструменты пользователя

  • Зашли как Anonymous (Anonymous)
  • Выйти

Инструменты сайта


mantis:simpletv:api:config

Config

value = GetValue(key,iniFile)

key - string
iniFile - string(optional)

SetValue(key,value,iniFile)

key - string
iniFile - string(optional)

Sync(iniFile)

iniFile - string

Apply(action)

action - number
enum END_CONFIG_ACTION_MAIN
{
NEED_NOTHING=0,
NEED_RESTART_CHANNEL,
NEED_STANDALONE_PLAYLIST_UPDATE,
NEED_TREE_OPTION_UPDATE,
NEED_MAINFRAME_UPDATE,

NEED_KEY_INPUT_UPDATE,
NEED_LIRC_UPDATE,
NEED_MOUSE_INPUT_UPDATE,
NEED_UPDATE_EXT_CONTROL,

NEED_PLAYER_CONTROL_UPDATE,
NEED_EQUALIZER_UPDATE,

NEED_PLAYLIST_OPTIONS_WITHGROUP,
NEED_PLAYLIST_OPTIONS_FAV_IGNORE_EXT_FILTER,
NEED_PLAYLIST_OPTIONS_FAV_SHOW_GROUP,
NEED_PLAYLIST_OPTIONS_SHOW_GROUP_EXT_FILTER_IN_NAME,
NEED_PLAYLIST_OPTIONS_SEPARATE_CONFIG,

NEED_MAIN_VIEW_UPDATE,
NEED_PIP_UPDATE,
NEED_PREVIEWPIP_UPDATE,
NEED_MPIP_UPDATE,

NEED_WATCHDOG_UPDATE,
NEED_PROCESS_PRIORITY_UPDATE,

NEED_CHANNELS_MENU_UPDATE,
NEED_EPG_UPDATE,
NEED_MAIN_OSD_UPDATE,

NEED_RESTART_APP,
NEED_PARENTAL_CONTROL_UPDATE,

NEED_LOGO_ENGINE_UPDATE,
NEED_SCREENSAVER_UPDATE,

NEED_CONTROLPANELBASE_UPDATE,
NEED_NETWORK_STATE_UPDATE,

NEED_SCHEDULER_OPT_UPDATE,
NEED_MAX
};

AddExtDialogT(param)

param - table
param.name - string
param.htmlUri - string
param.luaUri - string
param.iconUri - string

deprecated from 0.5
  • GetConfigInt(ConfigId)
  • SetConfigInt(ConfigId,IntValue)
  • GetConfigString(ConfigId)
  • GetConfigString_UTF8(ConfigId)
  • SetConfigString(ConfigId,StringVal)
  • SetConfigString_UTF8(ConfigId,StringVal_UTF8)
  • AddExtDialog
deprecate from ver. 0.4.8, moving in Dialog class
  • SetElementValueString
  • SetElementValueString_UTF8
  • GetElementValueString
  • GetElementValueString_UTF8
  • AddComboValue
  • AddComboValue_UTF8
  • GetComboValue
  • GetComboValue_UTF8
  • SelectComboIndex
  • GetCheckBoxValue
  • SetCheckBoxValue
  • AddEventHandler
  • SetElementText
  • SetElementText_UTF8
  • SetElementHtml
  • SetElementHtml_UTF8
  • Close
mantis/simpletv/api/config.txt · Последние изменения: 2020/01/30 12:14 — SergeyVS