From d4423467553a3adad831d241912af0a009a165aa Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Sun, 23 Feb 2020 15:23:39 +0530 Subject: Update mocplay to understand opener calls --- plugins/nuke | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/nuke') diff --git a/plugins/nuke b/plugins/nuke index 9487780..604777b 100755 --- a/plugins/nuke +++ b/plugins/nuke @@ -99,8 +99,8 @@ handle_pdf() { } handle_audio() { - if which mocp >/dev/null 2>&1; then - mocplay "${FPATH}" >/dev/null 2>&1 + if which mocplay >/dev/null 2>&1; then + mocplay "${FPATH}" "opener" >/dev/null 2>&1 exit 0 elif which mpv >/dev/null 2>&1; then mpv "${FPATH}" >/dev/null 2>&1 & -- cgit v1.2.3-70-g09d2