From b404e59be2fe229848640e74c9f20b8ece02213d Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Mon, 9 Nov 2020 20:32:10 +0300 Subject: [PATCH] .mc/menu: Put tmp file into `/tmp/` --- .mc/menu | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.5