From f7fe187c464525339c58996ec86b4faea4306789 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Tue, 4 Jun 2024 20:59:56 +0200 Subject: Use unbounded mpsc channel --- src/audio/mpv.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/audio/mpv.rs') diff --git a/src/audio/mpv.rs b/src/audio/mpv.rs index 06d3630..a9b3bc1 100644 --- a/src/audio/mpv.rs +++ b/src/audio/mpv.rs @@ -4,7 +4,7 @@ use tokio::sync::mpsc; pub struct Mpv {} impl Mpv { - pub async fn play(&self, url: &str, _tx: mpsc::Sender) { + pub async fn play(&self, url: &str, _tx: mpsc::UnboundedSender) { Command::new("mpv") .args([url]) .output() -- cgit v1.3.1