aboutsummaryrefslogtreecommitdiff
path: root/src/mpris2-controller.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-08-20 19:10:10 +0100
committerConor Curran <conor.curran@canonical.com>2010-08-20 19:10:10 +0100
commit347d89eed160da6338401e71223655594af23c0b (patch)
treebd28660c101195908c370d430f8c313f7f875845 /src/mpris2-controller.vala
parente6fc3937fd425dfed550884bf9852e16f1cb7401 (diff)
downloadayatana-indicator-sound-347d89eed160da6338401e71223655594af23c0b.tar.gz
ayatana-indicator-sound-347d89eed160da6338401e71223655594af23c0b.tar.bz2
ayatana-indicator-sound-347d89eed160da6338401e71223655594af23c0b.zip
metadata ui tweaks galore
Diffstat (limited to 'src/mpris2-controller.vala')
-rw-r--r--src/mpris2-controller.vala10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/mpris2-controller.vala b/src/mpris2-controller.vala
index 815426f..6fa140e 100644
--- a/src/mpris2-controller.vala
+++ b/src/mpris2-controller.vala
@@ -120,8 +120,16 @@ public class Mpris2Controller : GLib.Object
if(meta_v != null){
debug("metadata is not empty");
debug("artist : %s", this.player.Metadata.lookup("artist").get_string());
+ debug("arturl: %s", this.player.Metadata.lookup("arturl").get_string());
+ /*try{
+ debug("arturl : %s", this.player.Metadata.lookup("arturl").get_string());
+ }
+ catch(GLib.Error e){
+ warning("NO ART URL");
+ }*/
- this.owner.custom_items[PlayerController.widget_order.METADATA].reset(MetadataMenuitem.attributes_format());
+ this.owner.custom_items[PlayerController.widget_order.METADATA].reset(MetadataMenuitem.attributes_format());
+ debug("After the reset the arturl = %i", this.owner.custom_items[PlayerController.widget_order.METADATA].property_get_int("x-canonical-sound-menu-player-metadata-arturl"));
this.owner.custom_items[PlayerController.widget_order.METADATA].update(this.player.Metadata,
MetadataMenuitem.attributes_format());
this.owner.custom_items[PlayerController.widget_order.SCRUB].reset(ScrubMenuitem.attributes_format());