From 45933c87d522871c283012410d678f736fb2d6e4 Mon Sep 17 00:00:00 2001 From: xyz Date: Thu, 4 Nov 2021 20:05:04 -0700 Subject: better man, better vinfo, misc --- home/xyz/.local/bin/mpva | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'home/xyz/.local/bin/mpva') diff --git a/home/xyz/.local/bin/mpva b/home/xyz/.local/bin/mpva index 7224cf46..81ff397e 100755 --- a/home/xyz/.local/bin/mpva +++ b/home/xyz/.local/bin/mpva @@ -3,7 +3,7 @@ if [ $# -eq 0 ]; then # fzf has --read0, maybe useful find "$XDG_MUSIC_DIR" | fzf -m --print0 | xargs -0 mpv --af= --shuffle --loop-playlist=inf --video=no -elif [ $# -eq 1 ]; then +elif [ $# -eq 1 ] && ! [ -d "$1" ]; then # use --loop-file for single file, better performance maybe mpv --af= --loop-file=inf --video=no "$1" else -- cgit v1.2.3-70-g09d2