Update cmus script

master
trémeur 5 years ago
parent 2db664a4cf
commit cbff1bb236

@ -2,6 +2,10 @@
# see https://github.com/cmus/cmus/issues/233 # see https://github.com/cmus/cmus/issues/233
cmus-remote -C clear if cmus-remote -Q &>/dev/null ; then
cmus-remote -C "add ~/Music" cmus-remote -C clear
cmus-remote -C "update-cache -f" cmus-remote -C "add ~/Music"
cmus-remote -C "update-cache -f"
else
echo Start cmus first.
fi

Loading…
Cancel
Save