From a28e6b4b5796afc2e82116ced84799e48a34c4b6 Mon Sep 17 00:00:00 2001 From: Paul Fariello Date: Tue, 23 Sep 2025 14:26:16 +0200 Subject: [PATCH] fix(mpris): Add comment concerning non-support of setting playback rate --- src/mpris_event_handler.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mpris_event_handler.rs b/src/mpris_event_handler.rs index 14cc4b55..aece9d8b 100644 --- a/src/mpris_event_handler.rs +++ b/src/mpris_event_handler.rs @@ -662,7 +662,7 @@ impl MprisPlayerService { // This value should always be 1.0 or less. #[zbus(property(emits_changed_signal = "true"))] async fn minimum_rate(&self) -> PlaybackRate { - // TODO: implement + // Setting minimum and maximum rate to 1 disallow client to set rate. 1.0 } @@ -672,7 +672,7 @@ impl MprisPlayerService { // This value should always be 1.0 or greater. #[zbus(property(emits_changed_signal = "true"))] async fn maximum_rate(&self) -> PlaybackRate { - // TODO: implement + // Setting minimum and maximum rate to 1 disallow client to set rate. 1.0 }