diff options
Diffstat (limited to 'src/player-item.vala')
-rw-r--r-- | src/player-item.vala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/player-item.vala b/src/player-item.vala index fe1eeab..3cac208 100644 --- a/src/player-item.vala +++ b/src/player-item.vala @@ -35,7 +35,9 @@ public class PlayerItem : Dbusmenu.Menuitem foreach(string property in attributes){ string[] input_keys = property.split("-"); string search_key = input_keys[input_keys.length-1 : input_keys.length][0]; + debug("search key = %s", search_key); if (data.lookup(search_key).holds (typeof (string))){ + debug("track data change player item update"); this.property_set(property, this.sanitize_string(data.lookup(search_key) as string)); } else if (data.lookup(search_key).holds (typeof (int))){ |