🗃️ Committing everything that changed 🗃️

This commit is contained in:
casjay 2022-09-10 15:33:04 -04:00
parent 15324eadbf
commit c8e0a5153f
No known key found for this signature in database
GPG Key ID: 4F765975C1F0EE5F

View File

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