diff options
Diffstat (limited to '.local')
-rwxr-xr-x | .local/bin/mpvm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.local/bin/mpvm b/.local/bin/mpvm index 7d539aa6..3dbfb194 100755 --- a/.local/bin/mpvm +++ b/.local/bin/mpvm @@ -4,6 +4,7 @@ if [ $# -eq 0 ]; then # fzf has --read0, maybe useful find "$XDG_MUSIC_DIR" | fzf -m --print0 | xargs -0 mpv --shuffle --loop-playlist=inf --video=no elif [ $# -eq 1 ]; then + # use --loop-file for single file, better performance maybe mpv --loop-file=inf --video=no "$1" else mpv --shuffle --loop-playlist=inf --video=no "$@" |