X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=extras%2Fmisc%2Fmpris.py;h=67a6e79d6ec7ef7767bf952d3a42a41a6a757d1c;hb=c60652e38ac6afd74bd8225e9dae5406f13aaa4f;hp=32aa79122d6132ee4fa1c650dd1585f8146708f4;hpb=760fece1a322216863909ceabcc1afbc74c74429;p=vlc 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)