Files
neon-vortex/mpd/mpd.conf
Neon Vortex 67a6ae146f
Some checks failed
Build and Push to Harbor / build-and-push (push) Has been cancelled
Add Flux CD configuration and update Neon Vortex HTML5 export
- Add Flux GitRepository and HelmRelease manifests for automated deployment
- Update Neon Vortex game files (HTML5 export with WASM optimization)
- Add Kubernetes manifests: Kaniko build job, MPD config, and Ingress
- Add MPD Docker configuration with improved settings

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-22 21:39:02 -05:00

60 lines
1.5 KiB
Plaintext

# MPD Configuration - Optimized for Kubernetes/Network Streaming
# This is a default config that can be overridden by ConfigMap
music_directory "/var/lib/mpd/music"
playlist_directory "/var/lib/mpd/playlists"
db_file "/var/lib/mpd/data/database"
log_file "/var/log/mpd/mpd.log"
pid_file "/run/mpd/pid"
state_file "/var/lib/mpd/data/state"
sticker_file "/var/lib/mpd/data/sticker.sql"
# Network settings
bind_to_address "0.0.0.0"
port "6600"
zeroconf_enabled "no"
# Performance tuning - Optimized for network streaming over NFS
audio_buffer_size "32768" # 32MB buffer for smooth playback
max_output_buffer_size "131072" # 128MB output buffer
connection_timeout "60" # 60 second timeout for slow networks
max_connections "20" # Support more concurrent clients
max_playlist_length "32768" # Large playlist support
# Database settings
auto_update "yes"
auto_update_depth "4"
filesystem_charset "UTF-8"
# Logging
log_level "default"
#log_level "verbose" # Uncomment for debugging
# HTTP streaming output - High quality MP3 (320kbps)
audio_output {
type "httpd"
name "HTTP Stream"
encoder "lame"
port "8000"
bitrate "320"
format "44100:16:2"
max_clients "10"
always_on "yes"
tags "yes"
mixer_type "software"
}
# FIFO output for visualizers (optional)
audio_output {
type "fifo"
name "FIFO"
path "/tmp/mpd.fifo"
format "44100:16:2"
}
# Null output as fallback
audio_output {
type "null"
name "Null Output"
}