diff options
author | Conor Curran <conor.curran@canonical.com> | 2010-12-06 17:31:10 +0000 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2010-12-06 17:31:10 +0000 |
commit | 4061f2bed3ed22262305c19e534f1007f7febbe9 (patch) | |
tree | 2faba8113b99ae3d23e3d9cf02879b6eb0a70d53 /src/mpris2-controller.vala | |
parent | 1d73614b6c2789d11c7e63efcd22634015aff737 (diff) | |
download | ayatana-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.vala | 4 |
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){ |