This commit is contained in:
2025-11-17 03:03:06 +01:00
parent cbe197da9c
commit 9bc0c2544d
8 changed files with 180 additions and 37 deletions

View File

@@ -0,0 +1,14 @@
host:
http_port: '8080'
cover_cache:
directory: cache_covers
size: 2000
audio_cache:
directory: cache_audio
size: 500
logger:
buffer_capacity: 200
enable_console: true
min_level: INFO
playlists:
directory: playlists

View File

@@ -34,7 +34,9 @@ struct AppState {
#[tokio::main]
async fn main() -> anyhow::Result<()> {
tracing_subscriber::fmt().with_env_filter("info").init();
tracing_subscriber::fmt()
.with_env_filter(tracing_subscriber::EnvFilter::from_default_env())
.init();
let descriptor = pick_descriptor(std::env::args().nth(1))?;
info!(