From ef664a3172a52de794177b35de812c0658cd29ff Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 27 Nov 2022 17:35:11 +0300 Subject: [PATCH] Feat(.mc/menu): Put random playlist in `/tmp/` Requires latest version of `shuffle-playlist.py`. --- .mc/menu | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.mc/menu b/.mc/menu index d9cd8b0..89bd7ab 100644 --- a/.mc/menu +++ b/.mc/menu @@ -178,16 +178,16 @@ P Play the audiofile(s) or playlist(s) + t lr & f \.m3u8? R Play the playlist in random order - "$HOME"/prog/audio-cdr-video/audio/shuffle-playlist.py %f random-playlist-tmp.m3u + "$HOME"/prog/audio-cdr-video/audio/shuffle-playlist.py %f /tmp/random-playlist-tmp.m3u #if [ "`audtool --get-volume`" -eq 0 ]; then audacious & sleep 3; fi #audtool --playlist-clear #while read song; do # audtool --playlist-addurl "$song" - #done < random-playlist-tmp.m3u + #done < /tmp/random-playlist-tmp.m3u #audtool --playback-play - deadbeef --queue random-playlist-tmp.m3u & deadbeef --play - #mplayer -playlist random-playlist-tmp.m3u & - (sleep 5; exec rm random-playlist-tmp.m3u) & + deadbeef --queue /tmp/random-playlist-tmp.m3u & deadbeef --play + #mplayer -playlist /tmp/random-playlist-tmp.m3u & + (sleep 5; exec rm /tmp/random-playlist-tmp.m3u) & + t lr & f \.(m3u8?|mp3|MP3|cue|aac|ac3|ape|dts|flac|ogg|OGG|pls|WAV|wav|wv|avi|AVI|flv|m2ts|m4v|mka|mkv|MKV|mov|MOV|mp4|MP4|mpg|MPG|vob|VOB|wma|wmv)$ i Audio/video info -- 2.39.5