dotfiles

My collection of dotfiles
git clone git://git.noxz.tech/dotfiles
Log | Files | Refs

commit a90dac90b43c01dce13ad72decb2e5d960576297
parent 4b8d9bc15374af44023157e6325c0c6cf4d6e3b3
Author: Chris Noxz <chris@noxz.tech>
Date:   Thu, 28 May 2020 15:45:09 +0200

[bin] sort directory playlist of mpvc

Diffstat:
Mbin/.local/bin/mpvc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/.local/bin/mpvc b/bin/.local/bin/mpvc @@ -171,7 +171,7 @@ case "$1" in if [ -d "$playlist" ]; then playlist_tmp="$(mktemp /tmp/pls.mpvc.XXXXXXXXXX)" echo '#EXTM3U' > "$playlist_tmp" - find "$playlist" -maxdepth 2 -type f | while read -r f; do + find "$playlist" -maxdepth 2 -type f | sort -n | while read -r f; do case "$f" in *.flac | *.mp3 | *.ogg) exif_wrapper "$f" >> "$playlist_tmp" ;;