From 063c97ffa68a552a1e40294fc1916da6d7f2b5f1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Mon, 12 Jul 2010 15:32:48 +0200 Subject: [PATCH] MPRIS metadata required field is "location", not "URI" --- extras/misc/mpris.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extras/misc/mpris.py b/extras/misc/mpris.py index 32aa79122d..67a6e79d6e 100755 --- a/extras/misc/mpris.py +++ b/extras/misc/mpris.py @@ -76,7 +76,7 @@ def NameOwnerChanged(name, new, old): # Callback for when "TrackChange" signal is emitted def TrackChange(Track): - # the only mandatory metadata is "URI" + # the only mandatory metadata is "location" try: a = Track["artist"] except: @@ -84,7 +84,7 @@ def TrackChange(Track): try: t = Track["title"] except: - t = Track["URI"] + t = Track["location"] try: length = Track["length"] except: @@ -194,7 +194,7 @@ def update(widget): t = "" if t == "": try: - t = Track["URI"] + t = Track["location"] except: t = "" l_artist.set_text(a) -- 2.39.2