Add Flux CD configuration and update Neon Vortex HTML5 export
Some checks failed
Build and Push to Harbor / build-and-push (push) Has been cancelled
Some checks failed
Build and Push to Harbor / build-and-push (push) Has been cancelled
- 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>
This commit is contained in:
59
mpd/mpd.conf
Normal file
59
mpd/mpd.conf
Normal file
@@ -0,0 +1,59 @@
|
||||
# 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"
|
||||
}
|
||||
Reference in New Issue
Block a user