summaryrefslogtreecommitdiff
path: root/src/audio/mpv.rs
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2024-06-04 20:59:56 +0200
committerYuval Adam <_@yuv.al>2024-06-04 20:59:56 +0200
commitf7fe187c464525339c58996ec86b4faea4306789 (patch)
tree63e3c7dfbbd37d1dd7da84e8c58f70e2dbab101d /src/audio/mpv.rs
parent355743d349d8f63a5d98246c0f0265812fbb2482 (diff)
Use unbounded mpsc channel
Diffstat (limited to 'src/audio/mpv.rs')
-rw-r--r--src/audio/mpv.rs2
1 files changed, 1 insertions, 1 deletions
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<String>) {
+ pub async fn play(&self, url: &str, _tx: mpsc::UnboundedSender<String>) {
Command::new("mpv")
.args([url])
.output()