diff options
author | xyz <gky44px1999@gmail.com> | 2021-08-27 18:55:50 -0700 |
---|---|---|
committer | xyz <gky44px1999@gmail.com> | 2021-08-27 18:55:50 -0700 |
commit | 1530efcde1936ba00f5d3cce5f32aad68e5deb58 (patch) | |
tree | 57ba9f602e1b3dc1e1b620e68dbae93c42b2cb3a /.local | |
parent | 1d9f4a4ab74d9b2acf26ed153e0905091ca05525 (diff) |
comment
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 "$@" |