Fix Rate property on org.mpris.MediaPlayer2.Player
Rate should never be 0.0 (according to the spec), so we pick a sensible
default when we do not have a current track: 1.0.
Also, when the current item changes, the Rate may also change. So add
it to the PropertiesChanged signal just to be sure.
Signed-off-by: Mirsal Ennaime <mirsal@videolan.org>
Showing
Please register or sign in to comment