mirror of
https://github.com/casjaysdevdocker/navidrome
synced 2025-01-18 12:34:27 -05:00
🗃️ Committing everything that changed 🗃️
This commit is contained in:
parent
15324eadbf
commit
c8e0a5153f
@ -51,8 +51,8 @@ __mpd_start() {
|
|||||||
sleep 10
|
sleep 10
|
||||||
mpd /config/mpd/mpd.conf
|
mpd /config/mpd/mpd.conf
|
||||||
sleep 5
|
sleep 5
|
||||||
if pgrep mpd &>/dev/null && ! mpc status | grep -q 'playing'; then
|
if pgrep mpd &>/dev/null; then
|
||||||
mpc play &>/dev/null
|
mpc status | grep -q 'playing' || mpc play &>/dev/null
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
Loading…
x
Reference in New Issue
Block a user