🗃️ Committing everything that changed 🗃️

This commit is contained in:
casjay
2022-09-10 15:13:43 -04:00
parent 27cd73244a
commit 15324eadbf

View File

@@ -51,7 +51,7 @@ __mpd_start() {
sleep 10
mpd /config/mpd/mpd.conf
sleep 5
if pgrep mpd &>/dev/null && mpc status | grep -qv 'playing'; then
if pgrep mpd &>/dev/null && ! mpc status | grep -q 'playing'; then
mpc play &>/dev/null
fi
}