You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# see https://github.com/cmus/cmus/issues/233
|
|
|
|
|
|
|
|
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
|