summaryrefslogtreecommitdiff
path: root/plugins/shellexec/shellexec.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/shellexec/shellexec.c')
-rw-r--r--plugins/shellexec/shellexec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/shellexec/shellexec.c b/plugins/shellexec/shellexec.c
index b419a4c9..7d49c2d6 100644
--- a/plugins/shellexec/shellexec.c
+++ b/plugins/shellexec/shellexec.c
@@ -103,7 +103,9 @@ shx_callback (Shx_action_t *action, DB_playItem_t *it)
static DB_plugin_action_t *
shx_get_plugin_actions (DB_playItem_t *it)
{
+ deadbeef->pl_lock ();
int is_local = it ? deadbeef->is_local_file (deadbeef->pl_find_meta (it, ":URI")) : 1;
+ deadbeef->pl_unlock ();
Shx_action_t *action;
for (action = actions; action; action = (Shx_action_t *)action->parent.next)