summaryrefslogtreecommitdiff
path: root/plugins/shellexec
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2012-04-16 23:10:25 +0200
committerGravatar waker <wakeroid@gmail.com>2012-04-16 23:10:52 +0200
commit2a067babd2efed241044f4d025c24c091d75c01b (patch)
tree5ae33cb9e1a701537a3c9b110add37fce1ade949 /plugins/shellexec
parent1d8ea228d6fb841b00fc4fc57ee3872bc778b4a3 (diff)
shellexec: restored description with full details
Diffstat (limited to 'plugins/shellexec')
-rw-r--r--plugins/shellexec/shellexec.c17
1 files changed, 16 insertions, 1 deletions
diff --git a/plugins/shellexec/shellexec.c b/plugins/shellexec/shellexec.c
index c3cc4251..d442672a 100644
--- a/plugins/shellexec/shellexec.c
+++ b/plugins/shellexec/shellexec.c
@@ -276,7 +276,22 @@ static Shx_plugin_t plugin = {
.misc.plugin.type = DB_PLUGIN_MISC,
.misc.plugin.id = "shellexec",
.misc.plugin.name = "Shell commands",
- .misc.plugin.descr = "Executes configurable shell commands for tracks and playlists",
+ .misc.plugin.descr = "Executes configurable shell commands for tracks\n"
+ "This plugin doesn't have GUI configuration yet. Please setup manually in config file\n"
+ "Syntax:\n"
+ "shellexec.NN shcmd:title:name:flag1,flag2,flag3,...\n\n"
+ "NN is any (unique) number, e.g. 01, 02, 03, etc\n\n"
+ "shcmd is the command to execute, supports title formatting\n\n"
+ "title is the name of command displayed in UI (context menu)\n\n"
+ "name used for referencing commands from other plugins, e.g hotkeys\n\n"
+ "flags are comma-separated list of items, allowed items are:\n"
+ " single - command allowed only for single track\n"
+ " local - command allowed only for local files\n"
+ " remote - command allowed only for non-local files\n"
+ " disabled - ignore command\n\n"
+ "EXAMPLE: shellexec.00 notify-send \"%a - %t\":Show selected track:notify:single\n"
+ "this would show the name of selected track in notification popup"
+ ,
.misc.plugin.copyright =
"Copyright (C) 2010-2012 Deadbeef team\n"
"Original developer Viktor Semykin <thesame.ml@gmail.com>\n"