[rhythmbox] rhythmbox-client: use correct property for duration (bug #674897)
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] rhythmbox-client: use correct property for duration (bug #674897)
- Date: Fri, 27 Apr 2012 09:08:01 +0000 (UTC)
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]