diff --git a/src/highlevel_api_extension.rs b/src/highlevel_api_extension.rs index 29d564b..98a318c 100644 --- a/src/highlevel_api_extension.rs +++ b/src/highlevel_api_extension.rs @@ -323,9 +323,9 @@ impl MpvExt for Mpv { Switch::Off => "yes", Switch::Toggle => { if self.is_playing().await? { - "no" - } else { "yes" + } else { + "no" } } };