Skip to content

mpris: improve Seeked and PlaybackStatus signal emissions

Jean Felder requested to merge wip/jfelder/mpris-seek into master

Some improvments:

  • the PlaybackStatus property is no more emitted if unchanged
  • MPRIS now directly listens to notify::state to query the song position just like SmoothScale. This allows to remove the seek-finished signal from Player
  • The Seeked property is no more emitted at the beginning of a song
  • The Seeked is only emitted when the position has changed "in a way that is inconsistant with the current playing state" (MPRIS specs quote)
Edited by Jean Felder

Merge request reports