aboutsummaryrefslogtreecommitdiff
path: root/src/mpris2-controller.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-12-06 17:31:10 +0000
committerConor Curran <conor.curran@canonical.com>2010-12-06 17:31:10 +0000
commit4061f2bed3ed22262305c19e534f1007f7febbe9 (patch)
tree2faba8113b99ae3d23e3d9cf02879b6eb0a70d53 /src/mpris2-controller.vala
parent1d73614b6c2789d11c7e63efcd22634015aff737 (diff)
downloadayatana-indicator-sound-4061f2bed3ed22262305c19e534f1007f7febbe9.tar.gz
ayatana-indicator-sound-4061f2bed3ed22262305c19e534f1007f7febbe9.tar.bz2
ayatana-indicator-sound-4061f2bed3ed22262305c19e534f1007f7febbe9.zip
string updates working properly now
Diffstat (limited to 'src/mpris2-controller.vala')
-rw-r--r--src/mpris2-controller.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mpris2-controller.vala b/src/mpris2-controller.vala
index 3adaad6..87f0307 100644
--- a/src/mpris2-controller.vala
+++ b/src/mpris2-controller.vala
@@ -94,10 +94,10 @@ public class Mpris2Controller : GLib.Object
GLib.HashTable<string, Variant?> changed_updates = this.player.Metadata;
Variant? artist_v = this.player.Metadata.lookup("xesam:artist");
if(artist_v != null){
- string[] artists = (string[])this.player.Metadata.lookup("xesam:artist");
+ string[] artists = (string[])this.player.Metadata.lookup("xesam:artist");
string display_artists = string.joinv(", ", artists);
changed_updates.replace("xesam:artist", display_artists);
- debug("artist : %s", display_artists);
+ debug("artist : %s", (string)changed_updates.lookup("xesam:artist"));
}
Variant? length_v = this.player.Metadata.lookup("mpris:length");
if(length_v != null){