Commit b2ef3dff authored by Jean Felder's avatar Jean Felder

mpris: Remove useless position reset on song change

Position is always reset on song change whatever the repeat mode is.
parent a7c6ce8e
Pipeline #85580 passed with stages
in 10 minutes and 7 seconds
...@@ -437,8 +437,6 @@ class MediaPlayer2Service(Server): ...@@ -437,8 +437,6 @@ class MediaPlayer2Service(Server):
@log @log
def _on_current_song_changed(self, player): def _on_current_song_changed(self, player):
self._update_songs_list() self._update_songs_list()
if self.player.props.repeat_mode == RepeatMode.SONG:
self.Seeked(0)
has_next = self.player.props.has_next has_next = self.player.props.has_next
has_previous = self.player.props.has_previous has_previous = self.player.props.has_previous
......
Markdown is supported
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