Ticket #4127: 0002-replace-xmms-with-audacious-in-ext.d-shound.sh.patch

File 0002-replace-xmms-with-audacious-in-ext.d-shound.sh.patch, 1.9 KB (added by ossi, 23 months ago)
  • misc/ext.d/sound.sh

    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() { 
    3838    case "${filetype}" in 
    3939    common) 
    4040        if [ -n "$DISPLAY" ]; then 
    41             (xmms  "${MC_EXT_FILENAME}" >/dev/null 2>&1 &) 
     41            (audacious  "${MC_EXT_FILENAME}" >/dev/null 2>&1 &) 
    4242        else 
    4343            play "${MC_EXT_FILENAME}" 
    4444        fi 
    do_open_action() { 
    5252        ;; 
    5353    mp3) 
    5454        if [ -n "$DISPLAY" ]; then 
    55             (xmms "${MC_EXT_FILENAME}" >/dev/null 2>&1 &) 
     55            (audacious "${MC_EXT_FILENAME}" >/dev/null 2>&1 &) 
    5656        else 
    5757            mpg123 "${MC_EXT_FILENAME}" 
    5858        fi 
    5959        ;; 
    6060    ogg) 
    6161        if [ -n "$DISPLAY" ]; then 
    62             (xmms "${MC_EXT_FILENAME}" >/dev/null 2>&1 &) 
     62            (audacious "${MC_EXT_FILENAME}" >/dev/null 2>&1 &) 
    6363        else 
    6464            ogg123 "${MC_EXT_FILENAME}" 
    6565        fi 
    6666        ;; 
    6767    opus) 
    6868        if [ -n "$DISPLAY" ]; then 
    69             (xmms "${MC_EXT_FILENAME}" >/dev/null 2>&1 &) 
     69            (audacious "${MC_EXT_FILENAME}" >/dev/null 2>&1 &) 
    7070        else 
    7171            play "${MC_EXT_FILENAME}" 
    7272        fi 
    do_open_action() { 
    7979        ;; 
    8080    playlist) 
    8181        if [ -n "$DISPLAY" ]; then 
    82             (xmms -p "${MC_EXT_FILENAME}" >/dev/null 2>&1 &) 
     82            (audacious -p "${MC_EXT_FILENAME}" >/dev/null 2>&1 &) 
    8383        else 
    8484            mplayer -vo null -playlist "${MC_EXT_FILENAME}" 
    8585        fi