X-Git-Url: https://git.sthu.org/?a=blobdiff_plain;f=mp-play;h=cd40b2df1c96e37d94b48b7d109d6e6a13a98076;hb=455842494106c4f7f3906536074ae2d629ed612b;hp=7adc101b7a15176ff0d13096444759a694d32131;hpb=32250a431251ea59cdbf7a754571319702477ee9;p=shutils.git diff --git a/mp-play b/mp-play index 7adc101..cd40b2d 100755 --- a/mp-play +++ b/mp-play @@ -7,7 +7,9 @@ if [ -x "/usr/bin/mplayer2" ]; then player="/usr/bin/mplayer2" fi -playeropts="-af-add bs2b" +playeropts="" +$player -af help | grep -q bs2b && playeropts="${playeropts} -af-add bs2b" + optRandom="" optRepeat=""