diff options
Diffstat (limited to 'src/audio/mpv.rs')
| -rw-r--r-- | src/audio/mpv.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/audio/mpv.rs b/src/audio/mpv.rs index dddb6b2..fde2711 100644 --- a/src/audio/mpv.rs +++ b/src/audio/mpv.rs @@ -1,10 +1,9 @@ -use super::AudioBackend; use std::process::Command; pub struct Mpv {} -impl AudioBackend for Mpv { - fn play(&self, url: &str) { +impl Mpv { + pub async fn play(&self, url: &str) { Command::new("mpv") .args([url]) .output() |
