summaryrefslogtreecommitdiff
path: root/plugins/shellexec
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2011-04-09 13:46:23 +0200
committerGravatar waker <wakeroid@gmail.com>2011-04-09 13:46:23 +0200
commit77a805f6162dc10fe15d4d6020b7f849f4c4dc82 (patch)
treeb073c5bd81ac5987c7c4154fabc087f09473391c /plugins/shellexec
parentf2dc4028934dabfed8fad25f37a660dad68cc3d7 (diff)
added description with example to shellexec plugin
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 a6d57d8b..f6a88658 100644
--- a/plugins/shellexec/shellexec.c
+++ b/plugins/shellexec/shellexec.c
@@ -206,7 +206,22 @@ static DB_misc_t plugin = {
.plugin.type = DB_PLUGIN_MISC,
.plugin.id = "shellexec",
.plugin.name = "Shell commands",
- .plugin.descr = "Executes configurable shell commands for tracks",
+ .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:flags\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 comma-separated of command flags, allowed flags 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:singe\n"
+ "this would show the name of selected track in notification popup"
+ ,
.plugin.copyright =
"Copyright (C) 2010-2011 Alexey Yakovenko <waker@users.sf.net>\n"
"Copyright (C) 2010 Viktor Semykin <thesame.ml@gmail.com>\n"