aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/nuke
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-02-23 15:23:39 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-02-23 15:29:21 +0530
commitd4423467553a3adad831d241912af0a009a165aa (patch)
tree1a64cdaf98be617a67747b0e214964b567866026 /plugins/nuke
parent78372b203a023ba8715b81e61fe19608627c916c (diff)
downloadnnn-d4423467553a3adad831d241912af0a009a165aa.tar.gz
Update mocplay to understand opener calls
Diffstat (limited to 'plugins/nuke')
-rwxr-xr-xplugins/nuke4
1 files changed, 2 insertions, 2 deletions
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 &