[gnome-music/wip/jfelder/mpris-cleanup: 9/25] mpris: Remove useless position reset on song change
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/mpris-cleanup: 9/25] mpris: Remove useless position reset on song change
- Date: Fri, 5 Apr 2019 22:17:56 +0000 (UTC)
commit 7ca8b8c4cbfaf71139afbb2000a478605f8508b0
Author: Jean Felder <jfelder src gnome org>
Date: Fri Apr 5 23:03:51 2019 +0200
mpris: Remove useless position reset on song change
Position is always reset on song change whatever the repeat mode is.
gnomemusic/mpris.py | 2 --
1 file changed, 2 deletions(-)
---
diff --git a/gnomemusic/mpris.py b/gnomemusic/mpris.py
index c88b71c7..6e541906 100644
--- a/gnomemusic/mpris.py
+++ b/gnomemusic/mpris.py
@@ -445,8 +445,6 @@ class MPRIS(DBusInterface):
@log
def _on_current_song_changed(self, player, position):
self._update_songs_list()
- if self.player.props.repeat_mode == RepeatMode.SONG:
- self.Seeked(0)
has_next = self.player.props.has_next
has_previous = self.player.props.has_previous
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]