[rhythmbox] rhythmbox-client: use correct property for duration (bug #674897)



commit 4810e4f0aa05872e057cac049173adbc5b700f66
Author: Sven Arvidsson <sa whiz se>
Date:   Fri Apr 27 19:07:08 2012 +1000

    rhythmbox-client: use correct property for duration (bug #674897)

 remote/dbus/rb-client.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/remote/dbus/rb-client.c b/remote/dbus/rb-client.c
index d0e6859..20260e7 100644
--- a/remote/dbus/rb-client.c
+++ b/remote/dbus/rb-client.c
@@ -355,7 +355,7 @@ parse_pattern (const char *pattern, GHashTable *properties, gint64 elapsed)
 				break;
 			case 'd':
 				/* Track duration */
-				value = g_hash_table_lookup (properties, "xesam:length");
+				value = g_hash_table_lookup (properties, "mpris:length");
 				if (value)
 					string = rb_make_duration_string (g_variant_get_int64 (value));
 				break;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]