pre pipewire-rs effects

This commit is contained in:
2026-03-06 20:38:46 +01:00
parent 4fec224769
commit 35f6343637
5 changed files with 95 additions and 66 deletions

View File

@@ -8,6 +8,7 @@ mod osc;
mod tui;
use anyhow::Result;
use std::path::PathBuf;
#[tokio::main]
async fn main() -> Result<()> {
@@ -23,6 +24,13 @@ async fn main() -> Result<()> {
tracing::info!("djdeck starting");
let mut app = app::App::new()?;
// Parse command line argument for audio directory
let audio_dir = if std::env::args().len() > 1 {
Some(PathBuf::from(std::env::args().nth(1).unwrap()))
} else {
None
};
let mut app = app::App::new(audio_dir)?;
app.run().await
}