From 3d686f814149b717a82baed45f28c2dda0232ea0 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Mon, 27 Feb 2023 10:47:03 +0300 Subject: [PATCH] .mc/menu: Improve `deadbeef` command lines --- .mc/menu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.mc/menu b/.mc/menu index 89bd7ab..0ee1233 100644 --- a/.mc/menu +++ b/.mc/menu @@ -158,7 +158,7 @@ p Load the audiofile(s) or playlist(s) # *) audtool --playlist-addurl "$f" ;; # esac #done - deadbeef --queue %s & + deadbeef %s & (sleep 1; exec deadbeef --stop) + t lr & f \.(aac|ac3|ape|cue|dts|flac|m3u8?|mka|mp3|MP3|ogg|OGG|pls|WAV|wav|wv)$ | t t P Play the audiofile(s) or playlist(s) @@ -185,7 +185,7 @@ R Play the playlist in random order # audtool --playlist-addurl "$song" #done < /tmp/random-playlist-tmp.m3u #audtool --playback-play - deadbeef --queue /tmp/random-playlist-tmp.m3u & deadbeef --play + deadbeef /tmp/random-playlist-tmp.m3u & #mplayer -playlist /tmp/random-playlist-tmp.m3u & (sleep 5; exec rm /tmp/random-playlist-tmp.m3u) & -- 2.39.2