2020-08-19 16:31:53 -06:00
|
|
|
set -A complete_mpc_1 -- \
|
|
|
|
add \
|
|
|
|
cdprev channels clear clearerror \
|
|
|
|
consume crop crossfade current \
|
|
|
|
del disable \
|
|
|
|
enable \
|
|
|
|
find findadd \
|
|
|
|
idle idleloop insert \
|
|
|
|
list listall load ls lsplaylists \
|
|
|
|
mixrampdb mixrampdelay move \
|
|
|
|
next \
|
|
|
|
outputs outputset \
|
|
|
|
pause pause-if-playing play playlist prev prio \
|
|
|
|
random repeat replaygain rescan rm \
|
|
|
|
save search searchadd searchplay seek \
|
|
|
|
sendmessage shuffle single stats \
|
|
|
|
sticker stop subscribe \
|
|
|
|
toggle toggleoutput \
|
|
|
|
update \
|
|
|
|
version volume \
|
2021-03-11 08:40:09 -07:00
|
|
|
waitmessage
|
|
|
|
|
2020-08-19 16:31:53 -06:00
|
|
|
pgrep -fq '/usr/local/sbin/mpd'
|
|
|
|
if [ $? = 0 ]; then
|
|
|
|
set -A complete_mpc_2 -- $(mpc lsplaylists | sort)
|
|
|
|
fi
|