From: Oleg Broytman Date: Mon, 9 Nov 2020 17:32:10 +0000 (+0300) Subject: .mc/menu: Put tmp file into `/tmp/` X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=b404e59be2fe229848640e74c9f20b8ece02213d;p=dotfiles.git .mc/menu: Put tmp file into `/tmp/` --- diff --git a/.mc/menu b/.mc/menu index acb6b51..393bf29 100644 --- a/.mc/menu +++ b/.mc/menu @@ -166,16 +166,16 @@ P Play the audiofile(s) or playlist(s) + t lr & f \.m3u R Play the playlist in random order - "$HOME"/admin/prog/audio-cdr-video/audio/shuffle-playlist.py %f random-playlist-tmp.m3u + "$HOME"/admin/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 #mplayer -playlist random-playlist-tmp.m3u & #deadbeef --queue random-playlist-tmp.m3u & deadbeef --play - (sleep 5; exec rm random-playlist-tmp.m3u) & + (sleep 5; exec rm /tmp/random-playlist-tmp.m3u) & + t lr & f \.(m3u|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