From 77a805f6162dc10fe15d4d6020b7f849f4c4dc82 Mon Sep 17 00:00:00 2001 From: waker Date: Sat, 9 Apr 2011 13:46:23 +0200 Subject: added description with example to shellexec plugin --- plugins/shellexec/shellexec.c | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'plugins/shellexec') 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 \n" "Copyright (C) 2010 Viktor Semykin \n" -- cgit v1.2.3