Actions RemoveDefinitionSetting - thica/ORCA-Remote GitHub Wiki

removedefinitionsetting

Removes a definitionsetting from a definition. Must be called in appstartactions or in definitionstartactions.

This function removes either

  • a single setting within a settings of a definition
  • a set of settings which are identified by the title of the section
  • all settings of a definition
This function is usefull, when you import a definition with it's settings, but not all settings apply to the parent setting. Remarks: Using this function will replace all variable names in the settings at this time.
Attribute Description
string removedefinitionsetting
definitionname If empty, the whole definitionsetting will be removed If given, this is variable name of the single setting within the definitionsetting to remove: Variablenames will be replaced If you want to remove a complete section you need to pass the title name as the variable name
A short example:
<action name="Remove the Numberpad settings from the imported setting" string="removedefinitionsetting" definitionname="kodi_mediaplayer_template" settingname="$lvar(mediaplayertemplate_10070) ($dvar(definition_alias_mediaplayer_template))"/>
⚠️ **GitHub.com Fallback** ⚠️