/* 
  MPVCommandFormat.strings
  iina

  Created by lhc on 17/3/2017.
  Copyright © 2017 lhc. All rights reserved.
*/


/**
 Only for internal use. `KeyBindingTranslator` will use formats in this file to generate a data dict
 for Mustache rendering.

 Examples:

 <key>
 will add a key and corresponding value in outputted data, value will be `nil` if not exist
 e.g. "set pause yes" =>
      ["command": "set", "property": "pause", "value": "yes"]


 <Key>#<default>
 instead of outputting nil, set a default value for the key.
 e.g. "add volume" =>
 ["command": "add", "property": "volume", "value": "+1"]


 <key>:<choice(default)>|<choice>
 set value to the first choice if it doesn't exist. at the same time, add an extra entry "<key>_<choice>"="true"
 e.g. "sub-seek 1" =>
 ["command": "sub-seek", "skip": "1", "skip_1": "true"]
 
 
 <key>…
 variadic arguments.

 */


"seek" = "command value opt:relative|absolute|absolute-percent|relative-percent|exact|keyframes";
"set" = "command property value";
"add" = "command property value#+1";
"cycle" = "command property dir:up|down";
"cycle-values" = "command property values...";
"multiply" = "command property factor";
"quit" = "command value";
"sub-seek" = "command skip:1|-1";
