From 56c969110143652410c48785118ab2a2c1d3519e Mon Sep 17 00:00:00 2001 From: Florrie Date: Thu, 9 Nov 2017 00:21:45 -0400 Subject: 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. --- todo.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'todo.txt') 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. -- cgit 1.3.0-6-gf8a5