applets/mediacontroller: Add playback rate selector
- applets/mediacontroller: Add playback rate selector
Allows to choose playback rate between 25% and 200% in steps of 25 when the player supports it.
Reason for the change
I found myself using qdbus
on the mpris interface a lot to change playback rate when I couldn’t be bothered to use the player UI, e.g. for watching talks and presentations faster. It’s also an accesibility feature.
Test plan
- Played a YouTube video, was able to change playback speed
- Playback speed is displayed in the applet
- If playback speed isn’t in 25% increment, the current value is added to the menu (it is removed once setting a 25% increment value, though)
- Spotify app, which doesn’t support changing playback rate, hides the control
Screenshots or screen recordings
Latest revision uses x
instead of percent:
Horizontal alignment of the speedometer icon is fixed with libplasma!1247 (merged)
Bugs fixed
Didn’t find a request for this on bko
Edited by Kai Uwe Broulik