From 15324eadbfb0095683b6bfca43f0a37660cad96e Mon Sep 17 00:00:00 2001 From: casjay Date: Sat, 10 Sep 2022 15:13:43 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=83=EF=B8=8F=20Committing=20everything?= =?UTF-8?q?=20that=20changed=20=F0=9F=97=83=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/entrypoint-music.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/entrypoint-music.sh b/bin/entrypoint-music.sh index 6c69b11..cdeee61 100755 --- a/bin/entrypoint-music.sh +++ b/bin/entrypoint-music.sh @@ -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 }