Update cmus script
This commit is contained in:
parent
2db664a4cf
commit
cbff1bb236
1 changed files with 7 additions and 3 deletions
|
@ -2,6 +2,10 @@
|
|||
|
||||
# see https://github.com/cmus/cmus/issues/233
|
||||
|
||||
cmus-remote -C clear
|
||||
cmus-remote -C "add ~/Music"
|
||||
cmus-remote -C "update-cache -f"
|
||||
if cmus-remote -Q &>/dev/null ; then
|
||||
cmus-remote -C clear
|
||||
cmus-remote -C "add ~/Music"
|
||||
cmus-remote -C "update-cache -f"
|
||||
else
|
||||
echo Start cmus first.
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue