[gnome-music/wip/jfelder/mpris-fix-seek: 28/29] 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: 28/29] player: Remove redundant state change
- Date: Thu, 18 Oct 2018 10:30:36 +0000 (UTC)
commit c503df559edd04ffbc6b4e7223c3203accc11d8f
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 ddaa5aab..8991eecf 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]