From: Oleg Broytman Date: Mon, 27 Feb 2023 07:47:03 +0000 (+0300) Subject: .mc/menu: Improve `deadbeef` command lines X-Git-Url: https://git.phdru.name/?p=dotfiles.git;a=commitdiff_plain;h=3d686f814149b717a82baed45f28c2dda0232ea0 .mc/menu: Improve `deadbeef` command lines --- 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) &