projects
/
BK-2020-03.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
feat(user/rand_media_pl.sh):Script to play random position of media
[BK-2020-03.git]
/
user
/
bkmml
diff --git
a/user/bkmml
b/user/bkmml
index 03db3bf7d97da72e338af49accfb133d16daf7d4..53981eb18d8602cb421ccac02e794551a4925574 100755
(executable)
--- a/
user/bkmml
+++ b/
user/bkmml
@@
-4,7
+4,7
@@
# Input: arg1 find iname expression
# arg2 grep -Ei expression
# arg3 grep -Eiv expression
# Input: arg1 find iname expression
# arg2 grep -Ei expression
# arg3 grep -Eiv expression
-# Version: 0.0.
1
+# Version: 0.0.
3
# Depends: GNU Grep 3.7; GNU find utils 4.8.0; GNU Parallel 20210822
# Load env vars
# Depends: GNU Grep 3.7; GNU find utils 4.8.0; GNU Parallel 20210822
# Load env vars
@@
-43,6
+43,8
@@
done < <(find -L "$(readlink -f "$BKMML_TARGET_DIR")" \
-o -iname "*.aac" \
-o -iname "*.opus" \
-o -iname "*.wav" \
-o -iname "*.aac" \
-o -iname "*.opus" \
-o -iname "*.wav" \
+ -o -iname "*.aif" \
+ -o -iname "*.ape" \
-o -iname "*.ogg" \) \
-a -iname "*$FIND_SEARCH*" \
2>/dev/random | \
-o -iname "*.ogg" \) \
-a -iname "*$FIND_SEARCH*" \
2>/dev/random | \