Make audacious hack work with many files
This commit is contained in:
parent
aa0627ed4c
commit
57610816be
|
@ -144,10 +144,12 @@ function mullvad() (
|
||||||
|
|
||||||
# Audacious does not support symlinks; hack around that
|
# Audacious does not support symlinks; hack around that
|
||||||
function audacious-hack() (
|
function audacious-hack() (
|
||||||
|
audtool playlist-clear
|
||||||
IFS=$'\n'
|
IFS=$'\n'
|
||||||
for dir in $@; do
|
for dir in $@; do
|
||||||
/bin/ls -1 $dir/**/*.(flac|m4a|mp3|ogg|opus)(@)
|
/bin/ls -1 $dir/**/*.(flac|m4a|mp3|ogg|opus)(@)
|
||||||
done|sort -Vd|tr '\n' '\0'|xargs -0 audacious
|
done|sort -Vd|tr '\n' '\0'|xargs -0 -- audacious --enqueue
|
||||||
|
audacious --play
|
||||||
)
|
)
|
||||||
|
|
||||||
# Program aliases/env
|
# Program aliases/env
|
||||||
|
|
Reference in a new issue