aboutsummaryrefslogtreecommitdiff
path: root/src/player-item.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-08-24 16:22:35 +0100
committerConor Curran <conor.curran@canonical.com>2010-08-24 16:22:35 +0100
commitfeed9f62a8779febde16e4f4461967a2b2a33e72 (patch)
tree16819d94976992c79ca5ff79225f545eebc0b126 /src/player-item.vala
parent92d628cf6bff2644d6ccafd9f5d8d31d7659a242 (diff)
downloadayatana-indicator-sound-feed9f62a8779febde16e4f4461967a2b2a33e72.tar.gz
ayatana-indicator-sound-feed9f62a8779febde16e4f4461967a2b2a33e72.tar.bz2
ayatana-indicator-sound-feed9f62a8779febde16e4f4461967a2b2a33e72.zip
mpris 2 metadata map changes implementated
Diffstat (limited to 'src/player-item.vala')
-rw-r--r--src/player-item.vala8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/player-item.vala b/src/player-item.vala
index e5d8bfc..fab1f85 100644
--- a/src/player-item.vala
+++ b/src/player-item.vala
@@ -60,7 +60,7 @@ public class PlayerItem : Dbusmenu.Menuitem
string update = v.get_string().strip();
debug("with value : %s", update);
// Special case for the arturl URI's.
- if(property.contains("arturl")){
+ if(property.contains("mpris:artUrl")){
try{
update = Filename.from_uri(update.strip());
}
@@ -74,9 +74,9 @@ public class PlayerItem : Dbusmenu.Menuitem
debug("with value : %i", v.get_int());
this.property_set_int(property, v.get_int());
}
- else if (v.holds (typeof (uint))){
- debug("with value : %i", (int)v.get_uint());
- this.property_set_int(property, (int)v.get_uint());
+ else if (v.holds (typeof (int64))){
+ debug("with value : %i", (int)v.get_int64());
+ this.property_set_int(property, (int)v.get_int64());
}
else if(v.holds (typeof (bool))){
debug("with value : %s", v.get_boolean().to_string());