[gnome-music/wip/merge: 166/343] player: get uri correctly



commit e9287f11bd37cce3329feafb373a318b16b4ac19
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date:   Tue Jul 16 17:23:41 2013 +0200

    player: get uri correctly

 gnomemusic/player.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnomemusic/player.py b/gnomemusic/player.py
index f86c198..b0e30a0 100644
--- a/gnomemusic/player.py
+++ b/gnomemusic/player.py
@@ -267,7 +267,7 @@ class Player(GObject.GObject):
             self.artistLabel.set_label("Unknown artist")
 
         url = media.get_url()
-        if url != self.player.current_uri:
+        if url != self.player.get_value("current-uri", 0):
             self.player.uri = url
 
         #Store next available url


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