Implement mpris Seeking in the media widget
Feature summary
Add a way to seek in the currently played song / podcast through the mpris media widget.
The current state
The mpris widget that shows the currently played song/podcast does not implement CanSeek
by having fast-forward/rewind buttons or a progress bar. Also CanGoNext
is implemented badly by just making the next/previous track button unclickable instead hiding them or properly graying it out.
How would you like it to work
Have fast-forward buttons show up when CanSeek is true. Hide the Next/Previous buttons when CanGoPrevious
and CanGoNext
are false.
Relevant links, screenshots, screencasts etc.
-
I found that the lack of seeking makes some apps that don't use forwarding abuse the next button to implement seeking. As the link states this causes confusion in other environments like Phosh that implement Seeking.
-
Here is a video of how the Next/Previous buttons look when you set
CanGoNext
to false. -
#4282 has an alternative design for the mpris widget, but no fast-forward/backwards buttons.
-
This is the code for the mpris widget I guess?