2021-07-29 14:02:20 +00:00
|
|
|
# launch my focus playlist
|
2020-09-04 10:05:10 +00:00
|
|
|
playlistPath="$MUSIC/Playlists"
|
2021-01-07 11:01:15 +00:00
|
|
|
test -z "$1" && vp "$playlistPath/focus.m3u8" ||
|
|
|
|
(find -L $playlistPath -iname "focus-$1.m3u8" -print0 | grep --null-data . ||
|
|
|
|
find -L $playlistPath -iname "$1.m3u*" -print0 | grep --null-data . ||
|
|
|
|
find -L $MUSIC -iname "*$1*" -prune -exec find {} -size +2M -type f -not -iregex ".*.\(jpe?g\|png\)" -print0 \;) |
|
|
|
|
xargs -0 vp
|