]> git.phdru.name Git - dotfiles.git/commitdiff
.mc/menu: Put tmp file into `/tmp/`
authorOleg Broytman <phd@phdru.name>
Mon, 9 Nov 2020 17:32:10 +0000 (20:32 +0300)
committerOleg Broytman <phd@phdru.name>
Mon, 9 Nov 2020 17:32:10 +0000 (20:32 +0300)
.mc/menu

index acb6b51acf4fbb5c7ef7d181a6f71c405c7e95ce..393bf298c5a2c8f840ce19bdbcb30741a637df31 100644 (file)
--- 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