Skip to content

Commit a28e6b4

Browse files
committed
fix(mpris): Add comment concerning non-support of setting playback rate
1 parent 51ec4c9 commit a28e6b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mpris_event_handler.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ impl MprisPlayerService {
662662
// This value should always be 1.0 or less.
663663
#[zbus(property(emits_changed_signal = "true"))]
664664
async fn minimum_rate(&self) -> PlaybackRate {
665-
// TODO: implement
665+
// Setting minimum and maximum rate to 1 disallow client to set rate.
666666
1.0
667667
}
668668

@@ -672,7 +672,7 @@ impl MprisPlayerService {
672672
// This value should always be 1.0 or greater.
673673
#[zbus(property(emits_changed_signal = "true"))]
674674
async fn maximum_rate(&self) -> PlaybackRate {
675-
// TODO: implement
675+
// Setting minimum and maximum rate to 1 disallow client to set rate.
676676
1.0
677677
}
678678

0 commit comments

Comments
 (0)