mirror of
https://github.com/casjaysdevdocker/navidrome
synced 2025-01-31 00:34:24 -05:00
🗃️ Committing everything that changed 🗃️
This commit is contained in:
parent
9e6ec0f00e
commit
298b65db21
@ -48,7 +48,7 @@ __exec_bash() {
|
|||||||
}
|
}
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
__mpd_start() {
|
__mpd_start() {
|
||||||
pgrep mpd &>/dev/null || mpd /config/mpd/mpd.conf
|
pgrep mpd &>/dev/null || mpd --verbose /config/mpd/mpd.conf
|
||||||
sleep 10
|
sleep 10
|
||||||
if pgrep mpd &>/dev/null; then
|
if pgrep mpd &>/dev/null; then
|
||||||
mpc status 2>&1 | grep -q 'playing' || mpc play &>/dev/null
|
mpc status 2>&1 | grep -q 'playing' || mpc play &>/dev/null
|
||||||
|
Loading…
x
Reference in New Issue
Block a user