« 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/todo.txt
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 /todo.txt
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 'todo.txt')
-rw-r--r--todo.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/todo.txt b/todo.txt
index 66effde..7c2a765 100644
--- a/todo.txt
+++ b/todo.txt
@@ -404,3 +404,6 @@ TODO: A way to search the playlist for a path. Probably best to modify the
 
 TODO: Case-insensitive checking with command keybindings - I think this is
       broken with the new command system.
+
+TODO: Handle empty (active) playlists. Showing an error message and stopping
+      is best, I think.