mirror of
				https://github.com/casjaysdevdocker/navidrome
				synced 2025-11-03 19:02:05 -05:00 
			
		
		
		
	🗃️ Committing everything that changed 🗃️
This commit is contained in:
		@@ -48,7 +48,9 @@ __exec_bash() {
 | 
			
		||||
}
 | 
			
		||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 | 
			
		||||
__start() {
 | 
			
		||||
  pgrep mpd &>/dev/null || mpd /config/mpd/mpd.conf
 | 
			
		||||
  if ! pgrep mpd &>/dev/null; then 
 | 
			
		||||
    mpd --stderr --no-daemon --verbose /config/mpd/mpd.conf &>/data/mpd/mpd.debug &
 | 
			
		||||
  fi
 | 
			
		||||
  sleep 10
 | 
			
		||||
  if pgrep mpd &>/dev/null; then
 | 
			
		||||
    mpc status 2>&1 | grep -q 'playing' || mpc play &>/dev/null
 | 
			
		||||
 
 | 
			
		||||
@@ -6,7 +6,7 @@ pid_file                          "/data/mpd/mpd.pid"
 | 
			
		||||
db_file                           "/data/mpd/cache.db"
 | 
			
		||||
state_file                        "/data/mpd/state.txt"
 | 
			
		||||
sticker_file                      "/data/mpd/sticker.sql"
 | 
			
		||||
user                              "mpd"
 | 
			
		||||
user                              "root"
 | 
			
		||||
bind_to_address                   "0.0.0.0"
 | 
			
		||||
port                              "6600"
 | 
			
		||||
log_level                         "default"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user