« get me outta code hell

Let keybindings run shell commands, if --trust option is given - http-music - Command-line music player + utils (not a server!)
about summary refs log tree commit diff
path: root/src/process-metadata.js
diff options
context:
space:
mode:
authorFlorrie <towerofnix@gmail.com>2017-11-09 00:21:45 -0400
committerFlorrie <towerofnix@gmail.com>2017-11-09 00:22:06 -0400
commit56c969110143652410c48785118ab2a2c1d3519e (patch)
tree514d2b3d50d72455713beffff661c9094a7e8db8 /src/process-metadata.js
parent69383a7c1ff7240e664c6af97f84cc7e44050f42 (diff)
Let keybindings run shell commands, if --trust option is given
Keybinding action format:

  [[..combo..], 'runShellCommand', ..command name.., [..arguments..]]

(--trust is an alias for --trust-shell-commands. When --trust appears in
an "options" property of a playlist (or anywhere besides the `http-music
play` invocation on the command line, shell command permisisons are
*revoked* - they cannot be enabled, even by directly passing --trust to
the command line.)

Also adds a note to todo.txt.
Diffstat (limited to 'src/process-metadata.js')
0 files changed, 0 insertions, 0 deletions