From d7182097cd3cf297afd55e0e8d1baf518f9f0fc7 Mon Sep 17 00:00:00 2001
From: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Date: Fri, 9 Oct 2020 00:06:01 +0200
Subject: [PATCH 3/5] replace xmms with audacious in ext.d/shound.sh
xmms hasn't been maintained for ages. audacious is a maintained fork of
it.
---
misc/ext.d/sound.sh | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/misc/ext.d/sound.sh b/misc/ext.d/sound.sh
index 760aaf1dd..c92b868ab 100755
a
|
b
|
do_open_action() { |
38 | 38 | case "${filetype}" in |
39 | 39 | common) |
40 | 40 | if [ -n "$DISPLAY" ]; then |
41 | | (xmms "${MC_EXT_FILENAME}" >/dev/null 2>&1 &) |
| 41 | (audacious "${MC_EXT_FILENAME}" >/dev/null 2>&1 &) |
42 | 42 | else |
43 | 43 | play "${MC_EXT_FILENAME}" |
44 | 44 | fi |
… |
… |
do_open_action() { |
52 | 52 | ;; |
53 | 53 | mp3) |
54 | 54 | if [ -n "$DISPLAY" ]; then |
55 | | (xmms "${MC_EXT_FILENAME}" >/dev/null 2>&1 &) |
| 55 | (audacious "${MC_EXT_FILENAME}" >/dev/null 2>&1 &) |
56 | 56 | else |
57 | 57 | mpg123 "${MC_EXT_FILENAME}" |
58 | 58 | fi |
59 | 59 | ;; |
60 | 60 | ogg) |
61 | 61 | if [ -n "$DISPLAY" ]; then |
62 | | (xmms "${MC_EXT_FILENAME}" >/dev/null 2>&1 &) |
| 62 | (audacious "${MC_EXT_FILENAME}" >/dev/null 2>&1 &) |
63 | 63 | else |
64 | 64 | ogg123 "${MC_EXT_FILENAME}" |
65 | 65 | fi |
66 | 66 | ;; |
67 | 67 | opus) |
68 | 68 | if [ -n "$DISPLAY" ]; then |
69 | | (xmms "${MC_EXT_FILENAME}" >/dev/null 2>&1 &) |
| 69 | (audacious "${MC_EXT_FILENAME}" >/dev/null 2>&1 &) |
70 | 70 | else |
71 | 71 | play "${MC_EXT_FILENAME}" |
72 | 72 | fi |
… |
… |
do_open_action() { |
79 | 79 | ;; |
80 | 80 | playlist) |
81 | 81 | if [ -n "$DISPLAY" ]; then |
82 | | (xmms -p "${MC_EXT_FILENAME}" >/dev/null 2>&1 &) |
| 82 | (audacious -p "${MC_EXT_FILENAME}" >/dev/null 2>&1 &) |
83 | 83 | else |
84 | 84 | mplayer -vo null -playlist "${MC_EXT_FILENAME}" |
85 | 85 | fi |