summaryrefslogtreecommitdiff
path: root/plugins/shellexec
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2012-01-22 16:00:54 +0100
committerGravatar waker <wakeroid@gmail.com>2012-01-22 16:00:54 +0100
commitdc3a3b052b3ad22587e0bd5fc7f99c8a05dd7bab (patch)
tree8932294088db9ef164c2c4b809fbdf4656c80b09 /plugins/shellexec
parent9f6582c6480d9fcdc52abd34ea952a7af8ba1914 (diff)
added possibility to put additional menu items to playlist context menu (using plugin actions)
Diffstat (limited to 'plugins/shellexec')
-rw-r--r--plugins/shellexec/shellexec.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/shellexec/shellexec.c b/plugins/shellexec/shellexec.c
index d7aa45c6..4edfd796 100644
--- a/plugins/shellexec/shellexec.c
+++ b/plugins/shellexec/shellexec.c
@@ -204,6 +204,9 @@ shx_start ()
if (0 == strstr (flags, "single"))
action->parent.flags |= DB_ACTION_ALLOW_MULTIPLE_TRACKS;
+ if (strstr (flags, "playlist"))
+ action->parent.flags |= DB_ACTION_PLAYLIST;
+
if (prev)
prev->parent.next = (DB_plugin_action_t *)action;
prev = action;