From 779f21b6af604cb50b82f942fd01a3504ba592c1 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 26 Mar 2016 23:34:01 +1300 Subject: Make type-agnostic --- plz | 1 - 1 file changed, 1 deletion(-) diff --git a/plz b/plz index 342ccdd..8d597b2 100755 --- a/plz +++ b/plz @@ -31,7 +31,6 @@ shopt -s extglob declare -a matches while IFS= read -d '' -r file ; do - [[ $file == *.@(flac|m4a|mp3|ogg) ]] || continue matches[${#matches[@]}]=$file done < <( find "${PLZ_DIR:-$HOME/Music}" \ -- cgit v1.2.3