Skip to content
Commit 4fbffe22 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

MPRIS: for images report the slideshow interval as well as timer resets

Summary:
Setting "mpris:length" "Metadata" property of images matching the interval of the
slideshow, signalling resets of the "Position" and delivering the
current timeout progress in the autoadvance timer, all that allows
MPRIS controllers to show the timely progress in the slideshow.

Supporting the same for video files is left-out for now, that needs
some bigger refactoring to have this information properly modelled
by the slideshow object.

((The Plasma media controller applet of <= 5.12 sadly only shows time
progress information if CanSeek=true. That got fixed for Plasma 5.13,
which will show a read-only progressbar instead of a slider))

Reviewers: #gwenview, rkflx

Reviewed By: #gwenview, rkflx

Subscribers: rkflx

Differential Revision: https://phabricator.kde.org/D11359
parent 8d61a5b9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment