[gnome-music/wip/mschraal/player-factor-out-gstreamer: 2/42] fix on_progress_scale_change_value



commit 1e4ca6346667ee50b9260a3a27bb3715c09480fc
Author: Marinus Schraal <mschraal gnome org>
Date:   Fri Feb 9 07:54:19 2018 +0100

    fix on_progress_scale_change_value

 gnomemusic/player.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnomemusic/player.py b/gnomemusic/player.py
index 2297f17..0345fc8 100644
--- a/gnomemusic/player.py
+++ b/gnomemusic/player.py
@@ -1061,7 +1061,7 @@ class Player(GObject.GObject):
                 # See https://bugzilla.gnome.org/show_bug.cgi?id=733095
                 pass
         else:
-            duration = self.player.query_duration(Gst.Format.TIME)
+            duration = self._player._player.query_duration(Gst.Format.TIME)
             if duration:
                 # Rewind a second back before the track end
                 # FIXME


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]