[app] # Server configuration host = 0.0.0.0 port = 8085 debug = false secret_key = 301172 log_level = INFO max_upload_size = 100MB [database] # Database configuration db_type = sqlite path = ./data/music.db # For MySQL/PostgreSQL (uncomment if needed) # db_type = mysql # db_host = localhost # db_port = 3306 # db_name = nas_music # db_user = username # db_password = password [music] # Music library storage configuration paths = M:/ # /path/to/your/music/library album_art_dir = ./data/album_art # Supported formats (comma-separated) formats = mp3,flac,ogg,m4a,wav,aac [Transcoding] # Audio transcoding settings enable_transcoding = true transcoding_format = mp3 bitrate = 320 buffer_size = 4096 [Library] # Library scan settings auto_scan = true scan_interval = 3600 # In seconds (1 hour) organize_library = true # Set to true to organize files on scan use_metadata = true # Use embedded metadata for organization [UI] # User interface settings theme = dark # Options: dark, light items_per_page = 50 enable_animations = true show_album_art = true default_view = albums # Options: albums, artists, songs, playlists [Playback] # Playback settings crossfade = 5 # In seconds replay_gain = true volume_normalization = true default_volume = 80 # 0-100 [Users] # User management enable_registration = false guest_access = false default_user_role = user # Options: user, admin [API] # API settings enable_api = true api_key_required = true # If left empty, a random key will be generated on first run api_key = [Playlists] # Playlist settings max_playlists_per_user = 100 allow_public_playlists = true allow_collaborative_playlists = true [Cache] # Cache settings enable_cache = true cache_dir = ./data/cache cache_size = 500MB cache_expiry = 86400 # In seconds (24 hours) [Search] # Search settings search_mode = fuzzy # Options: exact, fuzzy min_search_chars = 2 index_lyrics = true