[gnome-music/wip/jfelder/mpris-fix-seek: 3/7] player: Remove redundant state change
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/mpris-fix-seek: 3/7] player: Remove redundant state change
- Date: Sun, 21 Oct 2018 11:24:09 +0000 (UTC)
commit c89552569dd49591b51c87fdd8928a60a03b14af
Author: Jean Felder <jfelder src gnome org>
Date: Thu Oct 18 12:27:05 2018 +0200
player: Remove redundant state change
Player state is automatically restored to PLAYING once the seek
operation has been performed.
gnomemusic/player.py | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/gnomemusic/player.py b/gnomemusic/player.py
index 821f721d..cf56283e 100644
--- a/gnomemusic/player.py
+++ b/gnomemusic/player.py
@@ -637,7 +637,6 @@ class Player(GObject.GObject):
position = self._player.position
if position >= 5:
self._player.seek(0)
- self._player.state = Playback.PLAYING
return
if self._playlist.previous():
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]